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
Reviewing the source code, it doesn't seem the the ssid and password is being read from the json config file saved in SPIFFS. The _ssid and _pwd variables are not assigned elsewhere in the library and thus getWiFi() always returns false. Executing WiFi.begin(ssid.c_str(), password.c_str()) in the example won't reconnect to the WiFi on ESP32 since its just an empty string whereas ESP8266 reconnects because when parsing an empty string in the function it reconnects to the last known WiFi. The implementation is different for the two cores.
The text was updated successfully, but these errors were encountered:
arduino-Provision/src/xProvision.cpp
Lines 187 to 196 in 8535627
Reviewing the source code, it doesn't seem the the ssid and password is being read from the json config file saved in SPIFFS. The _ssid and _pwd variables are not assigned elsewhere in the library and thus
getWiFi()
always returns false. ExecutingWiFi.begin(ssid.c_str(), password.c_str())
in the example won't reconnect to the WiFi on ESP32 since its just an empty string whereas ESP8266 reconnects because when parsing an empty string in the function it reconnects to the last known WiFi. The implementation is different for the two cores.The text was updated successfully, but these errors were encountered: