Set Serial baudrate for main serial communication
[ESP901](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=(admin password) the admin password if authentication is enabled
Output
Section titled “Output”- In json format
{ "cmd":"901", "status":"ok", "data":"115200"}cmdId of requested command, should be901statusstatus of command, should beokdatacontent of response, here the current baudrate
- plain text format
115200