parent
25dff4f044
commit
f6a4b024c7
@ -186,6 +186,7 @@ bool WiFiAPClass::softAPdisconnect(bool wifioff)
|
||||
wifi_config_t conf;
|
||||
*conf.ap.ssid = 0;
|
||||
*conf.ap.password = 0;
|
||||
conf.ap.authmode = WIFI_AUTH_OPEN; // auth must be open if pass=0
|
||||
ret = esp_wifi_set_config(WIFI_IF_AP, &conf) == ESP_OK;
|
||||
|
||||
if(wifioff) {
|
||||
|
Loading…
Reference in New Issue
Block a user