esp_eap_client_set_password() function
Set password for PEAP/TTLS authentication method. This function sets the password to be used during PEAP/TTLS authentication.
Arguments
password
Pointer to the password data.
len
Length of the password data (len > 0).
Return value
- ESP_OK: The password was set successfully. - ESP_ERR_INVALID_ARG: Failed due to an invalid argument (len <= 0). - ESP_ERR_NO_MEM: Failed due to memory allocation failure.
esp_eap_client_set_password() is called by 1 function and calls 2 functions:
![]()
esp_eap_client_set_password()
esp_eap_client_set_password() reads 1 variable and writes 2 variables:
![]()
esp_eap_client_set_password()