Does ESP8266 support WiFi PFM (Protected Management Frame)?
Posted: Sat May 21, 2022 9:01 am
I'm using the latest ESP8266 Arduino release 3.0.2. However, I noticed it won't connect to my router when the PMF (Protected Management Frame) is set to "Required". If I change it to either "Disabled" or "Capable", I have no WiFi connection issue. I searched it online and didn't find any complaints. I wonder if it's something I did wrong. The Arduino sketch is pretty simple (out of one of the examples):
void setup() {
Serial.begin(115200);
delay(200);
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.persistent(false);
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, pass);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.print(".");
}
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
}
void loop() {
}
void setup() {
Serial.begin(115200);
delay(200);
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.persistent(false);
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, pass);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.print(".");
}
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
}
void loop() {
}