Get/Set default output which is can be USB or Serial. Only on ESP32 S2-S3 boards.

Input

[ESP950]<USB/SERIAL> json=<no> pwd=<admin password>

  • json=no the output format

  • pwd= the admin password if authentication is enabled

Output

  • In json format
{
   "cmd":"950",
   "status":"ok",
   "data":"SERIAL"
}
  • cmd Id of requested command, should be 950
  • status status of command, should be ok
  • data content of response, here the current output mode

  • plain text format

SERIAL

The system need to be restarted to apply the change.