Router connection: 50% failure (50% success)
Posted: Mon Feb 27, 2017 10:51 am
Hi,
I use this standard sketch to connect to Internet:
ESP8266 connects after each reboot
ESP32 only connects exactly half the case:
- connect OK
- reboot
- connection failed
- reboot
- connect OK
- reboot
- connection failed
- reboot ...
I am the only one to get this "undocumented feature" ?
Please load this short code and let me know
Thanks
I use this standard sketch to connect to Internet:
Code: Select all
#include <WiFi.h>
char* ssid = "xxxxxxxxxx";
char* password = "xxxxxxxx";
void setup() {
Serial.begin(115200);
delay(10);
Serial.print("Connecting to "); Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(WiFi.status());
}
Serial.print("\nWiFi connected IP: "); Serial.println(WiFi.localIP());
}
void loop() {}
ESP32 only connects exactly half the case:
- connect OK
- reboot
- connection failed
- reboot
- connect OK
- reboot
- connection failed
- reboot ...
I am the only one to get this "undocumented feature" ?
Please load this short code and let me know
Thanks