esp_eap_client_set_pac_file() function
Set the PAC (Protected Access Credential) file for EAP-FAST authentication. EAP-FAST requires a PAC file that contains the client's credentials. @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.
Arguments
pac_file
Pointer to the PAC file buffer.
pac_file_len
Length of the PAC file buffer.
Return value
- ESP_OK: The PAC file for EAP-FAST authentication was set successfully.
esp_eap_client_set_pac_file() is called by 1 function and calls 1 function:
![]()
esp_eap_client_set_pac_file()
esp_eap_client_set_pac_file() reads 1 variable and writes 2 variables:
![]()
esp_eap_client_set_pac_file()