!
4.2.11. AT+CWSTARTSMART—Starts SmartConfig
Commands
Response
Parameters
Messages
Notes
Example
4.2.12. AT+CWSTOPSMART—Stops SmartConfig
Execute
Command
Response
Parameters
Note
Example
Espressif
Set Command:
AT+CWSTARTSMART=<type>
Function: to start SmartConfig of a
designated type.
OK
<type>:
‣ 1: ESP-TOUCH
‣ 2: AirKiss
‣ 3: ESP-TOUCH+AirKiss
When smartconfig starts, it will prompt messages as below:
smartconfig type: <type>
Smart get wifi info
ssid:<AP's SSID>
password:<AP's password>
// ESP32 will try to connect to the AP
WIFI CONNECTED
WIFI GOT IP
smartconfig connected wifi
fail"
For details on SmartConfig please see
•
SmartConfig is only available in the ESP32 Station mode.
•
The message Smart get wifi info means that SmartConfig has successfully acquired
•
the AP information. ESP32 will try to connect to the target AP.
Message smartconfig connected wifi 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.
AT+CWMODE=1
AT+CWSTARTSMART=3
AT+CWSTOPSMART
OK
-
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.
AT+CWSTOPSMART
20 97
!
Set Command:
AT+CWSTARTSMART
Function: enable ESP-TOUCH+AirKiss
SmartConfig.
OK
none
// AIRKISS, ESPTOUCH or UNKNOWN
// got SSID and password
// if the connection failed, it will prompt "smartconfig connect
ESP-TOUCH User
/!
4. Wi-Fi AT Commands
Guide.
2019.06
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers