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
In order to connect to Wifi from ESP32 and other boards, the WiFi connection needs to be 2.4GHz, wireless mode must be legacy. It cannot be set to Auto or N only. Go to your router box web page, and change this setting under Advanced Settings > Wireless.
Basic Infos
WiFi.begin related code is working fine on 2.2 but doesn't work on 2.3. Regression?
See example below
Hardware
Hardware: ESP-01
Core Version: 2.2.0
Description
l.d(String("Setting SSID as "") + ssid + "" and PWD as " + secrethidden);
WiFi.softAPdisconnect(true);
delay(100);
WiFi.begin(ssid, secret);
int attempts = 0;
int waitconnect = 1000;
while (WiFi.status() != WL_CONNECTED) {
l.i(String("WiFi.status is ") + WiFi.status() + "...");
delay(waitconnect);
if (attempts++ * waitconnect == 8000 ) { // 8 seconds
break;
}
}
if (WiFi.status() != WL_CONNECTED) {
l.e(String("Cannot connect to specified WiFi, status is ") + WiFi.status());
return false;
}
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 4MB/1MB
CPU Frequency: 80Mhz
Flash Mode: qio
Flash Frequency: 40Mhz
Upload Using: SERIAL
The text was updated successfully, but these errors were encountered: