pub unsafe extern "C" fn esp_wifi_sta_wpa2_ent_set_ttls_phase2_method(
    type_: u32
) -> i32
Expand description

@brief Set wpa2 enterprise ttls phase2 method

@deprecated This function is deprecated and will be removed in the future. Please use esp_eap_client_set_ttls_phase2_method instead.

@param type: the type of phase 2 method to be used

@return

  • ESP_OK: succeed