Instructions

" " ! "
Espressif Systems
ESP8266
AT Instruction Set
2.
AT+CWMODE_CUR – current WiFi mode
There are three Wi-Fi working modes: Station mode, softAP mode, and the co-existence of Station
mode and softAP mode. This command is used to query the current Wi-Fi mode, or to set a desired
Wi-Fi mode.!
AT+CWMODE_CUR – Set WiFi mode(sta/AP/sta+AP), won’t save to flash
Example
AT+CWMODE_CUR=3
Command
AT+CWMODE_CUR=?
Response
+CWMODE_CUR:( value scope of <mode>)
OK
Parameters
<mode>
1 : station mode
2 : softAP mode
3 : softAP + station mode
Command
AT+CWMODE_CUR?
Response
+CWMODE_CUR:<mode>
OK
Parameters
<mode>
1 : station mode
2 : softAP mode
3 : softAP + station mode
Command
AT+CWMODE_CUR=<mode>
Response
OK
Parameters
<mode>
1 : station mode
2 : softAP mode
3 : softAP + station mode
Notes
Configuration changes will NOT be stored in flash.
Espressif Systems / Friday, July 15, 201624 73