Set/display session time out
[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=(admin password) the admin password if authentication is enabled
Output
Section titled “Output”- In json format
{ "cmd":"510", "status":"ok", "data":"10"}cmdId of requested command, should be510statusstatus of command, should beokdatacontent of response, here the current timeout
- plain text format
10