Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
32.
AT+CWSTARTSMART – Start SmartConfig
SmartConfig is only available in station mode. SmartConfig can get protocol type (AirKiss or ESP-
TOUCH) automatically by command "AT+CWSTARTSMART". Alternatively, users may command "AT
+CWSTARTSMART=<type>" to set a specific protocol type.!
33.
AT+CWSTOPSMART – stop SmartConfig
AT+CWSTARTSMART – Start SmartConfig
Example
AT+CWMODE=1
AT+CWSTARTSMART
Command
AT+CWSTARTSMART
Response
OK
Parameters
none
Notes
The type of SmartConfig will be ESP-Touch + AirKiss, if the command is "AT
+CWSTARTSMART"
Command
AT+CWSTARTSMART=<type>
Response
OK
Parameters
<type>
1 : ESP-Touch
2 : AirKiss
3 : ESP-Touch + AirKiss
Notes
•
Message "Smart get WiFi info" means Smart Config acquired AP
information successfully, then ESP8266 will try to connect to target AP.
"Smartconfig connected WiFi" is printed if connection is successful.
•
ESP8266 cannot do anything during SmartConfig. Please wait for the
message "Smartconfig connected WiFi" and then use command "AT
+CWSTOPSMART" to stop SmartConfig.
AT+CWSTOPSMART - stop SmartConfig
Command
AT+CWSTOPSMART
Response
OK
Notes
Irrespective of whether SmartConfig succeeded or not, before any other AT
commands please always call "AT+CWSTOPSMART" to release the internal
memory taken up by SmartConfig.
Espressif Systems / Friday, July 15, 201650 73