Customer:
I can’t get my Inkplate2 to connect to my Synology router. I’ve tried all the common ESP troubleshooting steps including setting up a guest network on the router using only 2.4 GHz, limiting the channel width to 20 MHz, and trying various simplifications of SSID, all without success. When I introduce a deliberate error in the SSID I get the “WL_NO_SSID_AVAIL” error, so the board is apparently seeing the AP. Running the WiFi scanner ESP example code shows my AP’s SSID with the strongest signal. Here’s my test code:
#include <WiFi.h>
// Replace with your own network credentials
const char* ssid = "my SSID";
const char* password = "my wifi password";
int WiFiStatus;
String Get_WiFiStatus(int Status){
switch(Status){
case WL_IDLE_STATUS:
return "WL_IDLE_STATUS";
case WL_SCAN_COMPLETED:
return "WL_SCAN_COMPLETED";
case WL_NO_SSID_AVAIL:
return "WL_NO_SSID_AVAIL";
case WL_CONNECT_FAILED:
return "WL_CONNECT_FAILED";
case WL_CONNECTION_LOST:
return "WL_CONNECTION_LOST";
case WL_CONNECTED:
return "WL_CONNECTED";
case WL_DISCONNECTED:
return "WL_DISCONNECTED";
}
}
void setup(){
Serial.begin(115200);
Serial.println("Connecting..");
WiFi.persistent(false);
WiFi.disconnect(true);
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
WiFiStatus = WiFi.status();
while(WiFiStatus != WL_CONNECTED){
delay(2500);
WiFiStatus = WiFi.status();
Serial.println(Get_WiFiStatus(WiFiStatus));
}
Serial.println("\nConnected To The WiFi Network");
Serial.print("Local ESP32 IP: ");
Serial.println(WiFi.localIP());
}
void loop(){
// Do Nothing
}
With my iPhone hotspot I get successful connection and receive IP 172.20.10.7. With my home router I get stuck in WL_DISCONNECTED. Any suggestions?
Originally submitted via email support on 27 May 2023. Migrated to the forum for community visibility.