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.