Set USB Serial baudrate for main serial communication. Only on ESP32 S2-S3 boards.
Input
[ESP902]<baudrate> json=<no> pwd=<admin password>
-
json=no the output format can be in JSON or plain text
-
baudrate
- if baudrate is empty, it will display current baudrate
-
if baudrate is not empty, it will set the baudrate currently only these baudrates are supported:
- 9600
- 19200
- 38400
- 57600
- 74880
- 115200
- 230400
- 250000
- 500000
- 921600
- 1958400
-
pwd=
the admin password if authentication is enabled
Output
- In json format
cmd
Id of requested command, should be902
status
status of command, should beok
-
data
content of response, here the current baudrate -
plain text format