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
Sometimes the modules doesn't connect.
A reset or a power off/on is requested.
Sketch
#include<Arduino.h>voidsetup() {
WiFi.mode(WIFI_STA);
WiFi.begin(WiFi.SSID().c_str(),WiFi.psk().c_str()); // reading data from EPROM, last saved credentialswhile (WiFi.status() != WL_CONNECTED) {
delay(1500);
Serial.print(".");
}
wl_status_t status = WiFi.status();
if(status == WL_CONNECTED) {
Serial.printf("\nConnected successfull to SSID '%s'\n", WiFi.SSID().c_str());
} else {
Serial.printf("\nCould not connect to WiFi. state='%d'", status);
Serial.println("Please press WPS button on your router.\n Press any key to continue...");
while(!Serial.available()) { ; }
if(!startWPSPBC()) {
Serial.println("Failed to connect with WPS :-(");
}
}
}
voidloop() {
}
Other
lots of dots on the serial console
Using the above code to switch to WPS in case credentials are not available, i've noticed that sometimes it works (right after 1-2 secs) sometimes it doesnt (keep showing dots).
Am i missing something? Why can't he find the credentials if after a simple reset it does?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Basic Infos
Hardware
Hardware: Amica NodeMCU ESP-12
Description
Sometimes the modules doesn't connect.
A reset or a power off/on is requested.
Sketch
Other
lots of dots on the serial console
Using the above code to switch to WPS in case credentials are not available, i've noticed that sometimes it works (right after 1-2 secs) sometimes it doesnt (keep showing dots).
Am i missing something? Why can't he find the credentials if after a simple reset it does?
The text was updated successfully, but these errors were encountered: