So you're a Noob? Post your questions here until you graduate! Don't be shy.
User avatar
By Stewart
#73952 I'm testing a little widget that uses WiFi, with a NodeMCU.
Everything works perfectly in my home, on a test access point having WPA2-PSK [AES] security. Security key is 8 characters.

When I test my widget in a health care building I service, with the same SSID name and security key, the ESP8266 will not connect.

Using an Android phone & iPhone, both connect at each locations with same credentials.

What might cause this failure to connect, a protocol type difference or limitation?
User avatar
By Stewart
#73978 Thanks
I will throw this out as a guess. Do a search for wpa2-psk enterprise

The WAPs are definitely not using wpa2-psk enterprise, it is WPA20-PSK

I'm going to try and monitor/log the wifi connect process, to the Ubiquiti wap.

I'm looking for the simplest method of getting Debug info during the wifi initialization?

For example using this simple connect code:
Code: Select all#include <ESP8266WiFi.h>
const char* ssid     = "SSIDme";
const char* password = "passcode";

void setup() {
  Serial.begin(115200);
  delay(10);
  Serial.print("Connecting to ");
  Serial.println(ssid);

  WiFi.mode(WIFI_STA); //We don't want the ESP to act as an AP
  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() {
  delay(1);
}