Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
17.
AT+CIPSTO – Set TCP server timeout
18.
AT+PING – Function Ping
AT+ CIPSTO – Set TCP server timeout
Example
AT+CIPMUX=1
AT+CIPSERVER=1, 1001
AT+CIPSTO=10
Command
AT+CIPSTO?
Response
+ CIPSTO:<time>
OK
Parameters
The same as below.
Command
AT+CIPSTO=<time>
Response
OK
Parameters
<time> TCP server timeout, range 0~7200 seconds
Notes
ESP8266 configured as TCP server will disconnect to TCP client that did not
communicate with it until timeout.
If AT+CIPSTO=0, the connection will never time out. It is not recommended.
AT+PING – Function Ping
Example
AT+PING="192.168.1.1"
AT+PING="www.baidu.com"
Command
AT+PING=<IP>
Response
+<time>
OK
Or
ERROR // wrong parameter, or ping fail
Parameters
<IP> : string, host IP or domain name
<time> : response time of ping
Espressif Systems / Friday, July 15, 201669 73