Is any workaround possible?
We had a working code according to the example in the library v1.0.6
We had to switch from an ESP32 to ESP32-C3 which resulted in an arduino-esp32 core upgrade to v2.0.0
v1.0.6
https://github.com/espressif/arduino-es ... rprise.ino
- WiFi.disconnect(true);
- WiFi.mode(WIFI_STA);
- esp_wifi_sta_wpa2_ent_set_identity((uint8_t *)EAP_IDENTITY, strlen(EAP_IDENTITY));
- esp_wifi_sta_wpa2_ent_set_username((uint8_t *)EAP_IDENTITY, strlen(EAP_IDENTITY));
- esp_wifi_sta_wpa2_ent_set_password((uint8_t *)EAP_PASSWORD, strlen(EAP_PASSWORD));
- esp_wpa2_config_t config = WPA2_CONFIG_INIT_DEFAULT();
- esp_wifi_sta_wpa2_ent_enable(&config);
- WiFi.begin(ssid);
But now with the changes of the core which were made to "esp_wpa2.h" the function esp_wifi_sta_wpa2_ent_enable() doesn't take any argument anymore.
v2.0.0
https://github.com/espressif/arduino-es ... rprise.ino
- WiFi.disconnect(true);
- WiFi.mode(WIFI_STA);
- esp_wifi_sta_wpa2_ent_set_identity((uint8_t *)EAP_IDENTITY, strlen(EAP_IDENTITY));
- esp_wifi_sta_wpa2_ent_set_username((uint8_t *)EAP_IDENTITY, strlen(EAP_IDENTITY));
- esp_wifi_sta_wpa2_ent_set_password((uint8_t *)EAP_PASSWORD, strlen(EAP_PASSWORD));
- esp_wifi_sta_wpa2_ent_enable();
- WiFi.begin(ssid);
The code of v2.0.0 doesn't work for both the ESP32 nor the ESP32-C3