AirM2M_ESP8266 WiFi module user manual V3.2
Shanghai AirM2M Communication Technology Co., Ltd
http://www.airm2m.com
Page 53
Example of data receiving(take receiving “TEST123” for example)
:
Non-transparent transmission
Transparent transmission
single link
+IPD,7:TEST123
TEST123
multi-link
+RECEIVE,1,7:
TEST123
TEST123(in every CONNECTED connection
)
5.3.11 Select TCPIP application mode
:
AT+CIPMODE
Syntax
:
command type
grammar
Response
Set command
AT+CIPMODE=<mode>
OK
Read command
AT+CIPMODE?
+CIPMODE: <mode>
OK
Test command
AT+CIPMODE=?
+CIPMODE: (0-NORMAL MODE,1-TRANSPARENT MODE)
OK
parameter definition
:
parameter
definition
value
value instruction
<mode>
TCPIP
application
mode
0
normal mode, default mode.
1
transparent transmission mode
5.3.12 Set the reconnection settings on a TCP link
:
AT+CIPRCON
Set command determines the methods of re-connection for the module(as a TCP client) to initiate after a
disconnection is detected by data sending at least once.
There are 2 kinds of disconnections:
<1>normal disconnection,in which a disconnection request from the server has been received by module.
<2>abnormal disconnection,in which no disconnection request from the server has been received by
module but the data cannot be sent.
<recon_status> determines in which occasion(<2> or both) the module will initiate the reconnections; and
<recon_times> determines the times of reconnections.
Syntax
:
command type
grammar
Response