AirM2M_ESP8266 WiFi module user manual V3.2
Shanghai AirM2M Communication Technology Co., Ltd
http://www.airm2m.com
Page 38
2
WPA_PSK
3
WPA2_PSK
4
WPA_WPA2_PSK
<ssid>
access point name
character string parameter
<rssi>
signal strength
-128~+127
<channel>
channel no.
5.2.3. Join an access point:AT+CWJAP
Syntax
:
command
type
Grammar
Response
Decription
Set
command
AT+CWJAP=<ssid>,<pwd>
OK
Successfully join AP
ERROR
Errors in AT command input
+CWJAP:2
Password error
+CWJAP:3
Can’t found the target AP
+CWJAP:4
Fail to join the AP
Read
command
AT+CWJAP?
+CWJAP:<ssid>
OK
Display the SSID the module has
joined
Parameter definition
:
parameter
definition
value
value instruction
<ssid>
access point name
character string
<pwd>
password
character string, the longest is 64 byte, ASCII coding
5.2.4. Quit an Access Point: AT+CWQAP
Syntax
:
command type
grammar
Response
Decription
Execution
command
AT+CWQAP
OK
exit this AP successfully
Test command
AT+CWQAP=?
OK
check whether this command is supported
5.2.5. Set parameter in AP mode: AT+CWSAP
Syntax
:
command
grammar
Response
Decription