Set/display session time out

Input

[ESP510]<timeout> json=<no> pwd=<admin password>

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

  • timeout

  • if timeout is empty, it will display current timeout (0~255 minutes), 0 means disable timeout
  • if timeout is not empty, it will set the timeout

  • pwd= the admin password if authentication is enabled

Output

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

  • plain text format

10