I'm not expert of IdF but better with ESP32 Arduino package, would it be complicated to add option to have PEAP WiFi option?
We're in a company building where wifi is not open but works with PEAP, on Arduino ESP32 we just do something like that and it's working fine, not sure how to do with IDF.
// we got PEAP Auth config?
if (EAPname!="" && EAPuser!="" && EAPpass!="" ) {
WiFi.begin(EAPname, WPA2_AUTH_PEAP, EAPuser, EAPuser, EAPpass);
// wait 30s to connect
if (!checkAPConnection(30)) {
Serial.print("Failed to connect using PEAP Auth, fallback to classic");
}
}
// in case PEAP failed or not configured, just use classic WiFi SSID/Pass
if (WiFi.status() != WL_CONNECTED) {
WiFi.begin(APname, APpass);
connected = checkAPConnection(45);
}
I'm not expert of IdF but better with ESP32 Arduino package, would it be complicated to add option to have PEAP WiFi option?
We're in a company building where wifi is not open but works with PEAP, on Arduino ESP32 we just do something like that and it's working fine, not sure how to do with IDF.
Thanks