Skip to content
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

After a reboot WiFi, only re-established from EEPROM if... #1

Open
rin67630 opened this issue May 2, 2024 · 0 comments
Open

After a reboot WiFi, only re-established from EEPROM if... #1

rin67630 opened this issue May 2, 2024 · 0 comments

Comments

@rin67630
Copy link
Owner

rin67630 commented May 2, 2024

After a reboot WiFi, is re-established from EEPROM only if previously the credentials came from SmartConfig.
When the credentials came from the sketch, they are not stored, despite of these lines:

Code: Select all

if (WiFi.status() == WL_CONNECTED)
{
WiFi.setAutoReconnect(true);
WiFi.persistent(true);
Serial.println("Connection OK!");
}

Any clues are highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant