mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
wifi_softap_set_config always fails, password cannot be 0 unless authmode is open, no documentation found, trial and error.
This commit is contained in:
parent
d1e8fe99a2
commit
397592fce7
@ -265,6 +265,7 @@ bool ESP8266WiFiAPClass::softAPdisconnect(bool wifioff) {
|
||||
struct softap_config conf;
|
||||
*conf.ssid = 0;
|
||||
*conf.password = 0;
|
||||
conf.authmode = AUTH_OPEN;
|
||||
ETS_UART_INTR_DISABLE();
|
||||
if(WiFi._persistent) {
|
||||
ret = wifi_softap_set_config(&conf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user