Function esp_idf_sys::esp_wifi_sta_wpa2_ent_enable

source ยท
pub unsafe extern "C" fn esp_wifi_sta_wpa2_ent_enable() -> esp_err_t
Expand description

@brief Enable wpa2 enterprise authentication.

@deprecated This function is deprecated and will be removed in the future. Please use esp_wifi_sta_enterprise_enable() instead.

@attention 1. wpa2 enterprise authentication can only be used when station mode is enabled. @attention 2. wpa2 enterprise authentication supports EAP-FAST, TLS, PEAP, TTLS(EAP, MSCHAPv2, MSCHAP, PAP, CHAP) methods.

@return

  • ESP_OK: succeed.
  • ESP_ERR_NO_MEM: fail(internal memory malloc fail)