AirM2M_ESP8266 WiFi module user manual V3.2
Shanghai AirM2M Communication Technology Co., Ltd
http://www.airm2m.com
Page 62
Will enter transparent transmission mode
after
reboot.
And
wait
for
CLIENT
connection setup.
There will be no
reminder
after
connection
set
up
successfully. Now data can be two-way
transmitted.
module as server can monitor 4 TCP and/or
UDP links at most.
2
)
Module operates in AP mode
:
The following words in light blue are the same common premise steps in this mode:
→
AT+CWMODE?
Step 1: check WIFI level operation mode
←
+CWMODE:3
OK
Default mode is 3: AP+STA mode
→
AT+CWMODE=2
Step2: Set as AP mode
←
OK
→
AT+RST
Step 3: Need reboot after setting mode.
←
OK
Note: Step2 and Step 3 can be ignored if after
booting AT+CWMODE it is already Step 1.
→
AT+CWSAP="aptest","123456",1,0
Step4: Set mode to AP and configure AP
parameters.
←
OK
Note: After finishing this step, it will
automatically save the original mode after
module reboot. It will be AP also if it is AP
mode before reboot, and keeps the same AP
parameters (SSID, password and so on) as
before reboot.
STATION join the aptest AP
2.1
)
CLIENT
,
single connection,
non-transparent transmission data
:
Please refer to 1.1)
2.2
)
CLIENT
,
single connection,
transparent transmission data
:
Please refer to 1.2)
2.3
)
SERVER
,
multi-connection, non-transparent transmission data
:
Please refer to 1.3) .the different part is all
connections are LAN connection under this
application.
2.4) SERVER
,
multi- connection, non-transparent transmission data
:
Please refer to 1.4)
2.5) SERVER
,
single and multi-connection, transparent transmission data
:
Please refer to 1.5)
3
)
Module works in AP+STATION mode
:
The parts in the following light blue grids are the common premise steps in this mode
:
→
AT+CWMODE=3
Set as AP + STA mode
←
OK
→
AT+RST
Need reboot after configuring mode.
←
OK
→
AT+CWJAP="yh_taihdhad","UUU02339"
Add into one AP which is a router can access
outer net.
←
OK
→
AT+CWSAP="aptest","123456",1,0
Configure module as AP
(
name as aptest
),