!
Notes
Example
5.2.12. AT+CIPSTO—Sets the TCP Server Timeout
Commands
Response
Parameter
Notes
Example
5.2.13. AT+CIPSNTPCFG—Sets the Time Zone and the SNTP Server
Commands
Response
Parameters
Espressif
This command will save the UART-Wi-Fi passthrough mode and its link in the NVS area. ESP32 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
•
flash.
AT+SAVETRANSLINK=1,"192.168.6.110",1002,"UDP",1005
Query Command:
AT+CIPSTO?
Function: to check the TCP server timeout.
+CIPSTO:<time>
OK
<time>
: TCP server timeout within the range of 0 ~ 7200
•
ESP32 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.
AT+CIPMUX=1
AT+CIPSERVER=1,1001
AT+CIPSTO=10
Query Command:
AT+CIPSNTPCFG?
+CIPSNTPCFG:<enable>,<timezone>
,<SNTP server1>[,<SNTP
server2>,<SNTP server3>]
OK
•
<enable>:
‣ 1: the SNTP server is
configured.
‣ 0: the SNTP server is not
configured.
•
: time zone, range:
<timezone>
[-11,13].
•
<SNTP server1>
: the first
SNTP server.
•
<SNTP server2>
: the second
SNTP server.
•
<SNTP server3>
: the third
SNTP server.
Set Command:
AT+CIPSTO=<time>
Function: to set the TCP server timeout.
OK
s.
Execute
Set Command:
Command:
AT+CIPSNTPCFG=<timezone>[,<SNTP
server1>,<SNTP server2>,<SNTP server3>]
AT+CIPSNTPCFG
OK
OK
Clear the SNTP
server
information.
•
•
•
•
If the three SNTP servers are not configured,
the following default configuration is used:
"cn.ntp.org.cn", "ntp.sjtu.edu.cn",
"us.pool.ntp.org".
!
31 53
/!
5. TCP/IP-Related AT Commands
<timezone>
: time zone, range: [-11,13].
<SNTP server1>
: the first SNTP server.
<SNTP server2>
: the second SNTP
server.
: the third SNTP server.
<SNTP server3>
2017.02
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers