Get state / Set Enable / Disable buzzer

Input

[ESP910]<state> json=<no> pwd=<admin password>

  • json=no the output format can be in JSON or plain text

  • 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
  • pwd= the admin password if authentication is enabled

Output

  • In json format
{
   "cmd":"910",
   "status":"ok",
   "data":"ENABLED"
}
  • cmd Id of requested command, should be 910
  • status status of command, should be ok
  • data content of response, here the current state

  • plain text format

ENABLED