[ESP510]
Section titled “[ESP510]”Syntax:
[ESP510] json=<no> pwd=<user/admin password>- display both timeouts[ESP510]HTTP=<minutes> STREAM=<minutes> json=<no> pwd=<admin password>- set one or both[ESP510]<minutes> json=<no> pwd=<admin password>- set the HTTP timeout (legacy form, same as ESP3D)
Description: display/set session timeouts, in minutes (0~255), 0 means no expiry
HTTP- HTTP / WebUI session timeout (default 3). The WebUI keeps its session alive while the page is open.STREAM- inactivity timeout of telnet and WebSocket data (/wsdata) sessions (default 0, no expiry): every line received from the client restarts it. Once expired, the client must authenticate again ([ESP500] pwd=<password>).
Output:
- plain text:
HTTP=3 STREAM=0 - json:
{"cmd":"510","status":"ok","data":{"HTTP":"3","STREAM":"0"}}