pub unsafe extern "C" fn esp_eap_client_set_ttls_phase2_method(
    type_: esp_eap_ttls_phase2_types
) -> esp_err_t
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.