ESP32 SoftAP Encryption

I am using an ESP32 in softAP mode to allow the user to send back setup information from their browser for my application which also includes the House Router ID and Password when NOT in setup mode to connect to the local wifi router.

When I view the WIFI in windows, it does not show any properties for encryption, so from this I am assuming it is clear.

How do I config it to use WPA2 at least.

Thanks.

WPA/WPA2 (TKIP) which was the default is not considered secure.

the v2 of the ESP32 Arduino SDK offers alternative configs see

using WIFI_AUTH_WPA2_PSK implies the use of the WPA2 with AES

HI,

Thanks, I needed to determine how to set it , so now I have managed to get it to work with setting WiFi.setMinSecurity before SoftAP is started and this seems now to have the right security on the properties box. I hope that was the right way :face_with_diagonal_mouth:

Many thanks.

May be you can share the code

Hi,

So this is what I did.

//This has to be set before the WiFi.begin so it seems. Worked for me anyway.

WiFi.setMinSecurity(WIFI_AUTH_WPA2_WPA3_PSK);

Hope that helps.

thx for sharing

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.