| Type | Instruction | Response | Function |
|---|---|---|---|
| Query | AT+CWSAP? | +CWSAP:ssid,pwd,chl,ecn OK | Query configuration of ESP8266 softAP mode. |
| Set | AT+CWSAP=ssid,pwd,chl,ecn | OK | Set configuration of softAP mode. |
Parameter description
ssid: string, ESP8266 softAP’ SSID
pwd: string, MAX: 64 bytes
chl: channel id
ecn:
0 OPEN
2 WPA_PSK
3 WPA2_PSK
4 WPA_WPA2_PSK
Example
AT+CWSAP="esp_123","1234567890",5,3