I solved it by replacing:
esp_wifi_sta_wpa2_ent_enable();
with:
esp_wpa2_config_t config = WPA2_CONFIG_INIT_DEFAULT();
esp_wifi_sta_wpa2_ent_enable(&config);
I also added my university email as EAP id, then I was able to connect.
Search found 3 matches
- Mon Sep 25, 2017 9:09 am
- Forum: General Discussion
- Topic: WPA2 Enterprise connection
- Replies: 20
- Views: 59304
- Mon Sep 25, 2017 8:51 am
- Forum: General Discussion
- Topic: WPA2 Enterprise connection
- Replies: 20
- Views: 59304
Re: WPA2 Enterprise connection
Hello,
I tried removing the wifi-library but was not able to compile the code. I still got the error:
sketch_sep25a:29: error: too few arguments to function 'esp_err_t esp_wifi_sta_wpa2_ent_enable(const esp_wpa2_config_t*)'
What versions of each libraries are you using? Could you also please ...
I tried removing the wifi-library but was not able to compile the code. I still got the error:
sketch_sep25a:29: error: too few arguments to function 'esp_err_t esp_wifi_sta_wpa2_ent_enable(const esp_wpa2_config_t*)'
What versions of each libraries are you using? Could you also please ...
- Fri Sep 22, 2017 2:37 pm
- Forum: General Discussion
- Topic: WPA2 Enterprise connection
- Replies: 20
- Views: 59304
WPA2 Enterprise connection
Hello!
I am trying to connect my esp32 to a WPA enterprise network (eduroam), but cannot get it to work. I am using the arduino IDE version 1.8.4 and the code below:
*
* This example shows how to use WPA2 enterprise
* Written by: Jeroen Beemster
* 12 July 2017
* Version 1.00
*/
#include ...
I am trying to connect my esp32 to a WPA enterprise network (eduroam), but cannot get it to work. I am using the arduino IDE version 1.8.4 and the code below:
*
* This example shows how to use WPA2 enterprise
* Written by: Jeroen Beemster
* 12 July 2017
* Version 1.00
*/
#include ...