Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Markus Reiter
#42693 Hi, I'm trying to connect to my WiFi, which has a password that is 63 characters long. But apparently it maxes out at 31 characters, anything more and it just won't connect. Has anyone had this problem?

Here's my code:

Code: Select all#include <ESP8266WiFi.h>

const char* ssid     = "ESP8266";
const char* password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";

void setup() {
  Serial.begin(115200);
  delay(10);


  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);
 
  WiFi.begin(ssid, password);
 
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }

  Serial.println();
  Serial.println("WiFi connected"); 
  Serial.print("IP address: ");
  Serial.println(WiFi.localIP());
}

void loop() {

}