AirM2M_ESP8266 WiFi module user manual V3.2
Shanghai AirM2M Communication Technology Co., Ltd
http://www.airm2m.com
Page 58
There are 2 ways to enter transparent transmission mode:
1) AT+CIPMODE=1, AT+CIPSERVER to configure server or AT+CIPSTART to configure client ,then
AT+CIPSCON=1, reboot module and it will enter transparent transmission, and automatically set up
connection according to last saved data (query-able by AT+CIPSCON)
2) open AirM2M_ESP8266_CONFIG_TOOL->WEB CONTROL-> Set_data_mode tab, set data_mode= 1 and
then POST. At Set_client /set_server tab to configure CLIENT/SERVER link, and then POST, reboot
module to enter transparent transmission and automatically set up socket connection according to
configuration.
Syntax
:
Command
type
grammar
Response
Execution
command
+++
Attention
:
+++ no other character at front or back
5.3.17 Application examples
Module can work as STATION on WIFI level, also can work as AP, and AP+ STATION. Module can work as
SERVER or CLIENT on transmission level. While on application level, it can work in non-transparent data
transmission (normal AT mode) and transparent data transmission mode as well.
Examples
:
cmd(→)
/resp(←)
example
Decription and demonstration
1
)
Module works in STATION mode
(
mode=1
):
The parts in light blue grids are the common premise steps in this mode
:
→
AT+CWMODE?
Step1: check WIFI level working mode
←
+CWMODE::3
OK
Default mode is 3: AP+STA mode
→
AT+CWMODE=1
Step2: Set as Station mode
←
OK
→
AT+RST
Step3: Need reboot after setting operation
mode.
←
OK
Note: Step2 and Step 3 can be ignored if
after booting AT+CWMODE? is already Step
1.
→
AT+CWLAP
Step 4: check current available access point
←
+CWLAP:(3,"yh_taihdhad",-45,"54:e6:fc:52:
36:e6",9)
+CWLAP:(4,"lemon",-86,"6c:e8:73:69:4b:76
",10)
+CWLAP:(4,"Xiaomi_yu",-85,"8c:be:be:2c:4
6:ea",11)
result