At+Cipsntptime-Queries The Sntp Time; At+Ciupdate-Updates The Software Through Wi-Fi; At+Cipdinfo-Shows The Remote Ip And Port With "+Ipd - Espressif ESP32 At Instruction Set

Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

!
Example
5.2.14. AT+CIPSNTPTIME—Queries the SNTP Time
Query
Command
Response
Parameters
Example
5.2.15. AT+CIUPDATE—Updates the Software Through Wi-Fi
Execute
Command
Response
Parameters
Notes
Notice
5.2.16. AT+CIPDINFO—Shows the Remote IP and Port with "+IPD"
Set Command
Response
Espressif
AT+CIPSNTPCFG=8,"cn.ntp.org.cn","ntp.sjtu.edu.cn"
AT+CIPSNTPTIME?
+CIPSNTPTIME:SNTP time
OK
-
AT+CIPSNTPCFG=8,"cn.ntp.org.cn","ntp.sjtu.edu.cn"
OK
AT+CIPSNTPTIME?
+CIPSNTPTIME:Mon Dec 12 02:33:32 2016
OK
AT+CIUPDATE
+CIPUPDATE:<n>
OK
<n>
:
‣ 1
: find the server.
‣ 2: connect to server.
‣ 3: get the software version.
‣ 4: start updating.
The speed of the upgrade is susceptible to the connectivity of the network.
ERROR will be returned if the upgrade fails due to unfavourable network conditions. Please wait
for some time before retrying.
If using Espressif's AT BIN (/esp-idf/bin/at), AT+CIUPDATE will download a new AT BIN from the
Espressif Cloud.
If using a user-compiled AT BIN, users need to make their own AT+CIUPDATE upgrade. Espressif
provides a demo as a reference for local upgrade (/esp-idf/example/at).
It is suggested that users call AT+RESTORE to restore the factory default settings after upgrading
the AT firmware.
AT+CIPDINFO=<mode>
OK
32 53
!
/!
5. TCP/IP-Related AT Commands
2017.02

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents