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.
Examples
esp_eap_client_set_identity() is referenced by 2 libraries and example projects: