Enable EAP authentication(WiFi Enterprise) for the station mode. This function enables Extensible Authentication Protocol (EAP) authentication for the Wi-Fi station mode. When EAP authentication is enabled, the ESP device will attempt to authenticate with the configured EAP credentials when connecting to a secure Wi-Fi network.
- ESP_OK: EAP authentication enabled successfully. - ESP_ERR_NO_MEM: Failed to enable EAP authentication due to memory allocation failure.
Notes
Before calling this function, ensure that the Wi-Fi configuration and EAP credentials (such as username and password) have been properly set using the appropriate configuration APIs.
Examples
esp_wifi_sta_enterprise_enable() is referenced by 2 libraries and example projects: