AirM2M_ESP8266 WiFi module user manual V3.2
Shanghai AirM2M Communication Technology Co., Ltd
http://www.airm2m.com
Page 56
<id>
connection id
<protocol>
TCPIP protocol
TCP
UDP
<ip>
Ip address
x.x.x.x
<remotePo
rt>
remote port
means server port
<localPort>
local port
To C, that is module’s local CLIENTport
To S,that is module’s loca SERVER port
<timeout>
Server
link
time-out
Please refer to AT+CIPSTO. Default value is 180
<mode>
Transparent
transmission
mode
0
Normal mode(=AT mode)
1
Transparent transmission mode
Examples
:
cmd(->)
/resp(<-)
example
Decription and instruction
→
AT+CWMODE?
←
+CWMODE:1
OK
→
AT+CIPMODE=1
←
OK
→
AT+CIPMUX=1
←
OK
→
AT+CWJAP="ChinaNet-hXug","5qsqruiv"
←
OK
→
AT+CIPSTART=0,"TCP","192.168.1.51",6800
←
OK
0,CONNECT OK
→
AT+CIPSCON=1
←
OK
→
AT+CIPSCON
←
C:0,"TCP","192.168.1.51",6800,1793
C:1,"","", ,
C:2,"","", ,
C:3,"","", ,
S:0, ,
S:1, ,
DATA_MODE:1
OK
Linkid =0, server ip=192.168.1.51,server
port=6800 ,local port=1793
Then reboot module.
Module will enter transparent transmission mode after reboot and automatically set up a connection