-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dont save ssid and pass #102
Comments
@BDskii thank you for providing the solution. Let me restate the issue and solution.
|
for save wifi config must call wifi_station_set_config but in ESP8266WiFiSTA.cpp :
if(WiFi._persistent) { wifi_station_set_config(&conf); } else { wifi_station_set_config_current(&conf); }
and default _persistent == false
fo fix it need add
WiFi.persistent(true);
beforeif (connectWifi(_ssid, _pass) == WL_CONNECTED)
and
WiFi.persistent(false);
afterThe text was updated successfully, but these errors were encountered: