You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WiFi.begin(ssid, password);
WiFi.scanNetworks();
int status = WiFi.status();
status has a value of WL_SCAN_COMPLETED until/unless I do a WiFi.begin() again.
How do I tell if my WiFi connection is still connected? Returning the result of the scan in WiFi.status() basically wipes out whether the connection is still active or not.
How do I check the connection status and not the scan status? Shouldn't there be different methods to check the connection status vs the scan status??
Or does scanNetworks() kill my existing connection?
The text was updated successfully, but these errors were encountered:
If I do the following code:
status has a value of WL_SCAN_COMPLETED until/unless I do a WiFi.begin() again.
How do I tell if my WiFi connection is still connected? Returning the result of the scan in WiFi.status() basically wipes out whether the connection is still active or not.
How do I check the connection status and not the scan status? Shouldn't there be different methods to check the connection status vs the scan status??
Or does scanNetworks() kill my existing connection?
The text was updated successfully, but these errors were encountered: