Query and Control ESP700 stream
[ESP701]action=<action> <CLEAR_ERROR>json=<no> pwd=<admin password>
-
json=no the output format can be in JSON or plain text
-
pwd=<admin password> the admin password if authentication is enabled
-
action
- if action is empty, it will display current state
- if action is not empty, it will set the action
currently only these actions are supported:
- ABORT
- PAUSE
- RESUME
-
CLEAR_ERROR
- if CLEAR_ERROR is present, it will clear the current error state
Output
Section titled “Output”- In json format
{ "cmd":"701", "status":"ok", "data":{ "status":"processing", "total":"1000", "processed":"500", "type":"1", "name":"/SD/myfile.gco" }}cmdId of requested command, should be701statusstatus of command, should beokdatacontent of response, here the current state of stream