I’m trying the Web Server module in the ESP32 course. The ESP32 fails to connect to the Access Point. It becomes stuck in the while loop:
Serial.print(“Connecting to “);
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(“.”);
}
The WiFi scan example sketch works fine and shows the WiFi SSID with good signal strength. I have double checked the password. I’m not sure how to proceed.
I solved it myself.
If anyone else is interested to know, the SSID I was using was the default name on my mobile phone of “V30+_5309”. I changed this to just have letters and it worked fine.
The issue seems to be the special characters in the SSID.
Thanks for posting the solution and I’m glad you were able to make it work. I’ll mark this thread as resolved and point anyone having the same problem to your solution.
If you have more questions, feel free to post them here: https://rntlab.com/ask-question/