-->
Page 1 of 1

WiFi Password Length Maxes out at 31 Characters

PostPosted: Tue Mar 08, 2016 11:46 am
by Markus Reiter
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() {

}