Page 1 of 1

ESP32S2 WiFi access point with WPA3 authentication mode

Posted: Wed Jun 07, 2023 7:18 am
by brindha__kumar
Good noon All!

I'm trying to set esp32s2 module as access point with WPA3 authentication. After configured with WPA3 and the SSID was not advertising. It works only with WPA2 configurations. Also tried WPA3 with STA mode it will work in WPA3 authentication.

Please help me to set up the WPA3 on AP mode
My code is:
#include <WiFi.h>
#include <WiFiAP.h>
#include <esp_wifi.h>

const char* ssid = "TESTNAME";
const char* password1 = "Abcd@123";


void setup() {
Serial.begin(115200);
// Configure Soft AP
wifi_config_t config;
wifi_softap_config(&config, ssid, password1,6,WIFI_AUTH_WPA3_PSK,0,4,false,100);
WiFi.mode(WIFI_AP);
WiFi.softAP(ssid, password1);
Serial.print("SSID: ");
Serial.println(ssid);
delay(100);
Serial.print("IP address: ");
Serial.println(String(WiFi.softAPIP().toString()));
}
void loop() {
}