Function esp_idf_svc::sys::esp_wifi_sta_wpa2_ent_set_pac_file
source ยท pub unsafe extern "C" fn esp_wifi_sta_wpa2_ent_set_pac_file(
pac_file: *const u8,
pac_file_len: i32,
) -> i32
Expand description
@brief Set client pac file
@deprecated This function is deprecated and will be removed in the future.
Please use esp_eap_client_set_pac_file
instead.
@attention 1. For files read from the file system, length has to be decremented by 1 byte. @attention 2. Disabling the ESP_WIFI_MBEDTLS_TLS_CLIENT config is required to use EAP-FAST.
@param pac_file: pointer to the pac file pac_file_len: length of the pac file
@return
- ESP_OK: succeed
- ESP_ERR_NO_MEM: fail(internal memory malloc fail)