!
4.2. Commands
4.2.1.
AT+CWMODE—Sets the Wi-Fi Mode (Station/SoftAP/Station+SoftAP)
Commands
Response
Parameters
Note
Example
Espressif
Test Command:
AT+CWMODE=?
+CWMODE:<mode>
OK
<mode>:
‣ 1: Station mode
‣ 2: SoftAP mode
‣ 3: SoftAP+Station mode
The configuration changes will be saved in the NVS area.
AT+CWMODE=3
Query Command:
AT+CWMODE?
Function: to query the current Wi-Fi
mode of ESP32.
+CWMODE:<mode>
OK
11 53
!
/!
4. Wi-Fi AT Commands
Set Command:
AT+CWMODE=<mode>
Function: to set the current Wi-Fi
mode of ESP32.
OK
2017.02
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers