cwhummel wrote:is it possible to connect to a WPA2 enterprise account?
I'd like to work on my esp at work in my downtime, but the only wifi I can use is wpa2 enterprise, requiring username as well as ssid and password,
Ia it working now?...If yes, Guide me
Thank you
const char* ssid2 = "wifi1";
const char* password2 = "7Gh^gdg";
const char* username2 = "ephimee";
const int user2len = 28;
const int waittime = 10000;
wifi_station_set_username((unsigned char *)username2,user2len);
wifi_station_clear_cert_key();
WiFi.begin(ssid2, password2);
c=0;
while (c<waittime) {
Serial.print(".");
delay(500);
c+=500;
if (WiFi.status() == WL_CONNECTED) {
c=waittime;
}
}
But it's not connecting. Am I doing something wrong?
I posted here (viewtopic.php?f=159&t=12218) a user_main.c file but it doesn't seem to work.