esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
16.05k stars 13.33k forks source link

Wifi.Begin password lowercase not working #3171

Closed SSShreyas closed 7 years ago

SSShreyas commented 7 years ago

Basic Infos

Hardware

Hardware: ?ESP-8266? Core Version: ?2.1.0-rc2?

Description

Problem description

Settings in IDE

Module: ? ESP8266 Huzzah Feather Module? Flash Size: ?4MB? CPU Frequency: ?80Mhz? Flash Mode: ?qio? Flash Frequency: ?40Mhz? Upload Using: ?SERIAL? Reset Method: ?ck / nodemcu?

Sketch

// Import required libraries

include "ESP8266WiFi.h"

// WiFi parameters const char ssid = "Home1434-5G"; const char password = "dynamicoctopus392"; // lowercase password

void setup(void) { // Start Serial Serial.begin(115200); //WiFi.hostname("ESP8266"); // Connect to WiFi WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected");

// Print the IP address Serial.println(WiFi.localIP());

}

void loop() {

}



### Debug Messages

Output on serial port 
rll��|�l�|�l�b|����r�b�b��nn�lnn���bp��lrlrlp�n��l��bn�|l��b��nn�l��l`�nnl`nr���nb�lr��nb�l�l���l�l`��n�
..............

**If I connect to other ssid : Home_1434 with password : DYNAMIC392 "Uppercase password" then the same sketch works.**
devyte commented 7 years ago

As I understand it, the ESP8266 is not 5G capable. Your ssid ending in -5G hints that it's a 5GHz one.

On Apr 25, 2017 12:41 AM, "SSShreyas" notifications@github.com wrote:

Basic Infos Hardware

Hardware: ?ESP-8266? Core Version: ?2.1.0-rc2? Description

Problem description Settings in IDE

Module: ? ESP8266 Huzzah Feather Module? Flash Size: ?4MB? CPU Frequency: ?80Mhz? Flash Mode: ?qio? Flash Frequency: ?40Mhz? Upload Using: ?SERIAL? Reset Method: ?ck / nodemcu? Sketch

// Import required libraries

include "ESP8266WiFi.h"

// WiFi parameters const char ssid = "Home1434-5G"; const char password = "dynamicoctopus392"; // lowercase password

void setup(void) { // Start Serial Serial.begin(115200); //WiFi.hostname("ESP8266"); // Connect to WiFi WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected");

// Print the IP address Serial.println(WiFi.localIP());

}

void loop() {

}

Debug Messages

Output on serial port rl�l��|��l�|� � l� b|������r�b� b��nn�lnn��� b�p��lrlrlp�n��� � l �� b n�|�l� �b��nn��l��l����nn l���nr���n b ��l�r��n b ��l��l����l�l`���n�� ..............

If I connect to other ssid : Home_1434 with password : DYNAMIC392 "Uppercase password" then the same sketch works.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3171, or mute the thread https://github.com/notifications/unsubscribe-auth/AQC6BjN1xM4qkzS1tsmYLXBlG3XMoXe6ks5rzWtagaJpZM4NG970 .

SSShreyas commented 7 years ago

Oh thanks a lot. I'll try it out.