Data Sheet

!
5. TCP/IP-Related AT Commands
5.2.19. AT+CIUPDATE—Updates the Software Through Wi-Fi
5.2.20. AT+CIPDINFO—Shows the Remote IP and Port with +IPD
5.2.21. +IPD—Receives Network Data
Execute
Command
AT+CIUPDATE
Function: updates software.
Response
+CIPUPDATE:<n>
OK
Parameters
<n>:
1: find the server.
2: connect to server.
3: get the software version.
4: start updating.
Notes
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.
Notes
If using Espressif’s AT BIN (/ESP8266_NONOS_SDK/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 (/ESP8266_NONOS_SDK/example/at).
It is suggested that users call AT+RESTORE to restore the factory default settings after upgrading
the AT firmware.
Set Command
AT+CIPDINFO=<mode>
Response
OK
Parameters
<mode>:
0: does not show the remote IP and port with +IPD.
1: shows the remote IP and port with +IPD.
Example
AT+CIPDINFO=1
Command
Single connection:
(+CIPMUX=0)+IPD,<len>[,<remote󰐇
IP>,<remote󰐇port>]:<data>
multiple connections:
(+CIPMUX=1)+IPD,<link󰐇ID>,<len>[,<remote󰐇
IP>,<remote󰐇port>]:<data>
Parameters
The command is valid in normal command mode. When the module receives network data, it will
send the data through the serial port using the +IPD command.
[<remote󰐇IP>]: remote IP, enabled by command AT+CIPDINFO=1.
[<remote󰐇port>]: remote port, enabled by command AT+CIPDINFO=1.
<link󰐇ID>: ID number of connection.
<len>: data length.
<data>: data received.
Espressif
! /!53 58
2017.05