esp_eap_client_set_ttls_phase2_method() function
Set EAP-TTLS phase 2 method. This function sets the phase 2 method to be used during EAP-TTLS authentication.
Arguments
type
The type of phase 2 method to be used (e.g., EAP, MSCHAPv2, MSCHAP, PAP, CHAP).
Return value
- ESP_OK: The EAP-TTLS phase 2 method was set successfully.
![]()
return esp_eap_client_set_ttls_phase2_method(type);
esp_eap_client_set_ttls_phase2_method() is called by 1 function:
![]()
esp_eap_client_set_ttls_phase2_method()
esp_eap_client_set_ttls_phase2_method() reads 5 variables and writes 1 variable:
![]()
esp_eap_client_set_ttls_phase2_method()