Thanks Gordon for clarifying where the changes need to occur.
from the Esp8266_at_instrunction_set_env1.5.4_0.pdf
AT+ CWSAP – Configuration of softAP mode
[@deprecated]. Please use AT+CWSAP_CUR or AT+CWSAP_DEF instead.
AT+CWSAP_CUR – Set configuration of softAP mode, won’t save to Flash
Example AT+CWSAP_CUR="ESP8266", "1234567890", 5, 3
Command AT+CWSAP_CUR?
Response +CWSAP_CUR:, , , , ,
Parameters
string, ESP8266 softAP’ SSID
string, range: 8 ~ 64 bytes ASCII
channel id
0 OPEN
2 WPA_PSK
3 WPA2_PSK
4 WPA_WPA2_PSK
maximum count of stations that allowed to connect to ESP8266 soft-AP
range: [1, 4]
Broadcast SSID by default
0 broadcast SSID of ESP8266 soft-AP
1 do not broadcast SSID of ESP8266 soft-AP
Command AT+CWSAP_CUR=, , , [, ][, ]
ESP8266 softAP don’t support WEP.
AT+ CWSAP_DEF – Set configuration of softAP mode, save to Flash
Example AT+CWSAP_DEF="ESP8266", "1234567890", 5, 3
Command AT+CWSAP_DEF?
Response +CWSAP_DEF:, , , , ,
Parameters
string, ESP8266 softAP’ SSID
string, range: 8 ~ 64 bytes ASCII
channel ID
0 OPEN
2 WPA_PSK
3 WPA2_PSK
4 WPA_WPA2_PSK
maximum count of stations that allowed to connect to ESP8266 soft-AP
range: [1, 4]
Broadcast SSID by default
0 broadcast SSID of ESP8266 soft-AP
1 do not broadcast SSID of ESP8266 soft-AP
Command AT+CWSAP_DEF=, , , [, ][, ]
Response
OK
ERROR
Parameters The same as above.
Notes
This command is only available when softAP mode enable.
ESP8266 softAP don’t support WEP.
This configuration will store in Flash system parameter area.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks Gordon for clarifying where the changes need to occur.
from the Esp8266_at_instrunction_set_env1.5.4_0.pdf
AT+ CWSAP – Configuration of softAP mode
[@deprecated]. Please use AT+CWSAP_CUR or AT+CWSAP_DEF instead.
AT+CWSAP_CUR – Set configuration of softAP mode, won’t save to Flash
Example AT+CWSAP_CUR="ESP8266", "1234567890", 5, 3
Command AT+CWSAP_CUR?
Response +CWSAP_CUR:, , , , ,
Parameters
string, ESP8266 softAP’ SSID
string, range: 8 ~ 64 bytes ASCII
channel id
0 OPEN
2 WPA_PSK
3 WPA2_PSK
4 WPA_WPA2_PSK
maximum count of stations that allowed to connect to ESP8266 soft-AP
range: [1, 4]
Broadcast SSID by default
0 broadcast SSID of ESP8266 soft-AP
1 do not broadcast SSID of ESP8266 soft-AP
Command AT+CWSAP_CUR=, , , [, ][, ]
ESP8266 softAP don’t support WEP.
AT+ CWSAP_DEF – Set configuration of softAP mode, save to Flash
Example AT+CWSAP_DEF="ESP8266", "1234567890", 5, 3
Command AT+CWSAP_DEF?
Response +CWSAP_DEF:, , , , ,
Parameters
string, ESP8266 softAP’ SSID
string, range: 8 ~ 64 bytes ASCII
channel ID
0 OPEN
2 WPA_PSK
3 WPA2_PSK
4 WPA_WPA2_PSK
maximum count of stations that allowed to connect to ESP8266 soft-AP
range: [1, 4]
Broadcast SSID by default
0 broadcast SSID of ESP8266 soft-AP
1 do not broadcast SSID of ESP8266 soft-AP
Command AT+CWSAP_DEF=, , , [, ][, ]
Response
OK
ERROR
Parameters The same as above.
Notes
This command is only available when softAP mode enable.
ESP8266 softAP don’t support WEP.
This configuration will store in Flash system parameter area.