Set Serial Bridge state which can be ON, OFF, CLOSE
[ESP930](state) json=(no) pwd=(admin password)
-
json=no the output format
-
state
- if state is empty, it will display current state
- if state is not empty, it will set the state
currently only these states are supported:
- ENABLE
- DISABLE
- CLOSE
-
pwd=(admin password)the admin password if authentication is enabled
Output
Section titled “Output”- In json format
{ "cmd":"930", "status":"ok", "data":"ENABLED"}cmdId of requested command, should be930statusstatus of command, should beokdatacontent of response, here the current state
- plain text format
ENABLED