WPA2-Enterprise Connection Not Working
Posted: Tue Jul 19, 2022 2:41 pm
Hi,
I'm trying to connect an ESP32 device to a local WPA2-Enterprise network, but am having no luck. I'm using the wifi_enterprise project code to test this feature. The network is setup to only need a domain user ID and password to login. I'm adding a snippet from the Server logs.
I'm trying to connect an ESP32 device to a local WPA2-Enterprise network, but am having no luck. I'm using the wifi_enterprise project code to test this feature. The network is setup to only need a domain user ID and password to login. I'm adding a snippet from the Server logs.
Code: Select all
ESP_ERROR_CHECK( esp_wifi_sta_wpa2_ent_set_identity((uint8_t *)EXAMPLE_EAP_ID, strlen(EXAMPLE_EAP_ID)) );
ESP_ERROR_CHECK( esp_wifi_sta_wpa2_ent_set_username((uint8_t *)EXAMPLE_EAP_USERNAME, strlen(EXAMPLE_EAP_USERNAME)) );
ESP_ERROR_CHECK( esp_wifi_sta_wpa2_ent_set_password((uint8_t *)EXAMPLE_EAP_PASSWORD, strlen(EXAMPLE_EAP_PASSWORD)) );
ESP_ERROR_CHECK( esp_wifi_sta_wpa2_ent_enable() );