esp_eap_client_set_identity() function
Set identity for PEAP/TTLS authentication method. This function sets the identity to be used during PEAP/TTLS authentication.
Arguments
identity
Pointer to the identity data.
len
Length of the identity data (limited to 1~127 bytes).
Return value
- ESP_OK: The identity was set successfully. - ESP_ERR_INVALID_ARG: Invalid argument (len = 128). - ESP_ERR_NO_MEM: Memory allocation failure.
esp_eap_client_set_identity() is called by 1 function and calls 2 functions:
![]()
esp_eap_client_set_identity()
esp_eap_client_set_identity() reads 1 variable and writes 2 variables:
![]()
esp_eap_client_set_identity()