8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a60e6de commit b87e0adCopy full SHA for b87e0ad
networking/bootwifi/BootWiFi.cpp
@@ -285,7 +285,11 @@ void BootWiFi::bootWiFi2() {
285
connectionInfo.ipInfo.gw.addr,
286
connectionInfo.ipInfo.netmask.addr
287
);
288
- m_wifi.connectAP(connectionInfo.ssid, connectionInfo.password); // Connect to the access point.
+
289
+ // Connect to the access point.
290
+ while(!m_wifi.connectAP(connectionInfo.ssid, connectionInfo.password)){
291
+ ESP_LOGE(LOG_TAG, "Unable to connect to access point \"%s\" - trying again...", connectionInfo.ssid);
292
+ };
293
294
} else {
295
// We do NOT have connection information. Let us now become an access
0 commit comments