!
4.
4.1. Overview
Commands
AT+CWMODE
AT+CWJAP
AT+CWLAPOPT
AT+CWLAP
AT+CWQAP
AT+CWSAP
AT+CWLIF
AT+CWDHCP
AT+CWDHCPS
AT+CWAUTOCONN
AT+CWSTARTSMART
AT+CWSTOPSMART
AT+WPS
AT+CWHOSTNAME
AT+MDNS
4.2. Commands
4.2.1.
AT+CWMODE—Sets the Wi-Fi Mode (Station/SoftAP/Station+SoftAP)
Comman
ds
Response
Espressif
Wi-Fi AT Commands
Description
Sets the Wi-Fi mode (STA/AP/STA+AP).
Connects to an AP.
Sets the configuration of command AT+CWLAP.
Lists available APs.
Disconnects from the AP.
Sets the configuration of the ESP32 SoftAP.
Gets the Station IP to which the ESP32 SoftAP is connected.
Enables/disables DHCP.
Sets the IP range of the ESP32 SoftAP DHCP server.
Saves the setting in flash.
Connects to the AP automatically on power-up.
Starts SmartConfig.
Stops SmartConfig.
Enables the WPS function.
Configure the host name of ESP32 station.
MDNS function
Query Command:
Test Command:
AT+CWMODE?
AT+CWMODE=?
Function: to query the Wi-Fi
mode of ESP32.
+CWMODE:<mode>
+CWMODE:<mode>
OK
OK
12 97
!
/!
4. Wi-Fi AT Commands
Set Command:
AT+CWMODE=<mode>
Function: to set the Wi-Fi mode
of ESP32.
OK
2019.06
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers