Data Sheet
!
4. Wi-Fi AT Commands
4.2.32. AT+CWSTARTSMART—Starts SmartConfig
4.2.33. AT+CWSTOPSMART—Stops SmartConfig
Commands
Execute Command:
AT+CWSTARTSMART
Function: to start SmartConfig. (The type of
SmartConfig is ESP-TOUCH + AirKiss.)
Set Command:
AT+CWSTARTSMART=<type>
Function: to start SmartConfig of a designated
type.
Response
OK
Parameters
<type>:
‣ 1: ESP-TOUCH
‣ 2: AirKiss
‣ 3: ESP-TOUCH+AirKiss
Notes
•
For details on SmartConfig please see ESP-TOUCH User Guide.
•
SmartConfig is only available in the ESP8266 Station mode.
•
The message SmartgetWi-Fiinfo means that SmartConfig has successfully acquired the AP
information. ESP8266 will try to connect to the target AP.
•
Message SmartconfigconnectedWi-Fi is printed if the connection is successful. Use command
AT+CWSTOPSMART to stop SmartConfig before running other commands. Please make sure that you do
not execute other commands during SmartConfig.
•
Starting from AT_v1.0, SmartConfig can get protocol type (AirKiss or ESP-TOUCH) automatically by
command AT+CWSTARTSMART.
Example
AT+CWMODE=1
AT+CWSTARTSMART
Execute Command
AT+CWSTOPSMART
Response
OK
Parameters
-
Note
Irrespective of whether SmartConfig succeeds or not, before executing any other AT
commands, please always call AT+CWSTOPSMART to release the internal memory taken up by
SmartConfig.
Example
AT+CWSTOPSMART
Espressif
! /5238
2017.05