Data Sheet

!
5. TCP/IP-Related AT Commands
5.2.17. AT+CIPSTO—Sets the TCP Server Timeout
5.2.18. AT+PING—Ping Packets
Notes
This command will save the UART-Wi-Fi passthrough mode and its link in the flash. ESP8266 will
enter the UART-Wi-Fi passthrough mode on any subsequent power cycles.
As long as the remote IP (or domain name) and port are valid, the configuration will be saved in the
user parameter area in the flash.
Example
AT+SAVETRANSLINK=1,"192.168.6.110",1002,"UDP",1005
Commands
Query Command:
AT+CIPSTO?
Function: to check the TCP server timeout.
Set Command:
AT+CIPSTO=<time>
Function: to set the TCP server timeout.
Response
+CIPSTO:<time>
OK
OK
Parameter
<time>: TCP server timeout within the range of 0 ~ 7200s.
Notes
ESP8266 configured as a TCP server will disconnect from the TCP client that does not
communicate with it until timeout.
If AT+CIPSTO=0, the connection will never time out. This configuration is not recommended.
Example
AT+CIPMUX=1
AT+CIPSERVER=1,1001
AT+CIPSTO=10
Set Command
AT+PING=<IP>
Function: Ping packets.
Response
+<time>
OK
or
ERROR󰐇//󰐇wrong󰐇parameter,󰐇or󰐇ping󰐇fail
Parameters
<IP>: string; host IP or domain name
<time>: the response time of ping
Notes
AT+PING="192.168.1.1"
AT+PING="www.baidu.com"
Espressif
! /!52 58
2017.05