pub unsafe extern "C" fn esp_eap_client_set_eap_methods(
methods: u32,
) -> i32Expand description
@brief Set one or more EAP (Extensible Authentication Protocol) methods to be used by the EAP client.
This API sets the allowed EAP authentication methods using a bitmask.
Multiple methods can be specified by OR-ing together values from esp_eap_method_t.
@param[in] methods Bitmask of EAP methods to enable.
@return - ESP_OK on success - ESP_ERR_INVALID_ARG if none of the methods are valid
@note If this API is not called, all supported EAP methods will be considered. If one or more methods are set using this API, only the specified methods will be considered.