Function esp_idf_hal::sys::esp_eap_client_set_ttls_phase2_method
source ยท pub unsafe extern "C" fn esp_eap_client_set_ttls_phase2_method(
type_: u32,
) -> i32
Expand description
@brief Set EAP-TTLS phase 2 method.
This function sets the phase 2 method to be used during EAP-TTLS authentication.
@param[in] type The type of phase 2 method to be used (e.g., EAP, MSCHAPv2, MSCHAP, PAP, CHAP).
@return
- ESP_OK: The EAP-TTLS phase 2 method was set successfully.