macOS connect to ESP32 Weak Security (WPA)
Posted: Wed Apr 28, 2021 8:43 am
When I connect to my ESP32-S2-Saola in AP mode, macOS shows a warning "Weak Security (WPA)":
Weak Security (WPA)
WPA is not considered secure. Learn More.
If this is your Wi-Fi network, configure the router to use WPA2/WPA3 Personal (AES) security type for this network.
I have set .authmode = WIFI_AUTH_WPA2_PSK
Why do I get this warning? Why isn't my setting recognized? I can not test WPA3 because "Currently, WPA3 is supported only in Station mode". So, is my setting not working or is macOS wrong? How to test this?
Weak Security (WPA)
WPA is not considered secure. Learn More.
If this is your Wi-Fi network, configure the router to use WPA2/WPA3 Personal (AES) security type for this network.
I have set .authmode = WIFI_AUTH_WPA2_PSK
Why do I get this warning? Why isn't my setting recognized? I can not test WPA3 because "Currently, WPA3 is supported only in Station mode". So, is my setting not working or is macOS wrong? How to test this?
Code: Select all
wifi_config_t wifi_config = {
.ap = {
.ssid = AP_WIFI_SSID,
.ssid_len = strlen(AP_WIFI_SSID),
.channel = AP_WIFI_CHNL,
.password = AP_WIFI_PASS,
.max_connection = AP_WIFI_MAXC,
.authmode = WIFI_AUTH_WPA2_PSK //WIFI_AUTH_WPA_WPA2_PSK
},
};
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_AP));
ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_AP, &wifi_config));
ESP_ERROR_CHECK(esp_wifi_start());