WiFi: log message when the network is not available at boot (PR #146)

Co-authored-by: bbouabou <6256196+bbouabou@users.noreply.github.com>
release/1.1.3
Miroslav Pivovarsky 2026-11-02 20:45:15 +01:00
parent 7ce1b0dbdb
commit 5a32ffda15
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,8 @@ void WiFiMngt::Init() {
log->AddEvent(LogLevel_Info, "WiFi network IP Address: http://" + WiFi.localIP().toString());
#endif
} else {
log->AddEvent(LogLevel_Warning, "Wifi unavailable. Try connect to hidden network: " + WifiSsid);
/* SSID not found, connect anyway and retry in WiFiReconnect() */
log->AddEvent(LogLevel_Warning, "Wifi unavailable at boot: " + WifiSsid + ". Will keep retrying in background");
WiFiStaConnect();
}
} else {