esp_wifi_sta_enterprise_disable() function
Disable EAP authentication(WiFi Enterprise) for the station mode. This function disables Extensible Authentication Protocol (EAP) authentication for the Wi-Fi station mode. When EAP authentication is disabled, the ESP device will not attempt to authenticate using EAP credentials when connecting to a secure Wi-Fi network.
Syntax
esp_err_t esp_wifi_sta_enterprise_disable(void); Return value
- ESP_OK: EAP authentication disabled successfully. - ESP_ERR_INVALID_STATE: EAP client is in an invalid state for disabling.
Notes
Disabling EAP authentication may cause the device to connect to the Wi-Fi network using other available authentication methods, if configured using esp_wifi_set_config().
esp_wifi_sta_enterprise_disable() is called by 1 function and calls 5 functions:
![]()
esp_wifi_sta_enterprise_disable()
esp_wifi_sta_enterprise_disable() reads 2 variables and writes 3 variables:
![]()
esp_wifi_sta_enterprise_disable()
esp_wifi_sta_enterprise_disable() is implemented by 1 functions:
![]()
esp_wifi_sta_enterprise_disable()