AirM2M_ESP8266 WiFi module user manual V3.2
Shanghai AirM2M Communication Technology Co., Ltd
http://www.airm2m.com
Page 55
→
AT+CIPSTO=0,120
set server timeout = 120 seconds
←
OK
→
AT+CIPSTO?
query the settings
←
S:0,120
S:1,180
5.3.14
Save transmission configuration
:
AT+CIPSCON
The parameters of some coCICIPCCIPRCON) can be save or restored
by this command.
Syntax
:
command
type
grammar
Response
Set
command
AT+CIPSCON=<action>
OK
Read
command
AT+CIPSCON
C:<id>,<protocol>,<ip>,<remotePort>,<localPort>
S:<id>,<localPort>,<timeout>
DATA_MODE:<mode>
CIPRCON:<recon_times>,<recon_status>
OK
Test
command
AT+CIPSCON=?
+CIPSCON:(0,1)
OK
Notes
The read command queries the current settings saved by +CIPSCON=1
“C:” displays the setting by +CIPSTART
“S:” displays the setting by +CIPSERVER
“DATA_MODE:” displays the setting by +CIPMODE
“CIPRCON:” displays the setting by +CIPRCON
parameter definition
:
parameter
definition
value
value instruction
<action>
Save/restore
transmission
parameter
1
The relevent transmission parameters will be saved in NV. So
after the restart, the module will:
1) Join the AP according to AT+CWJAP setting of last time
2) Set up connection according to “C:” settings and set up server
ports according to “S:” settings
3) Enter normal mode or transparent transmission mode
according to “DATA_MODE:<mode>”
4) Module will reconnect according to “CIPRCON:” when a
disconnection is detected.
0
Restore all the relevent parameters to default values.
Data of S and C wil be cleared.
Module will quit transparent transmission mode at the same time