Function esp_idf_sys::esp_wifi_wps_enable
source ยท pub unsafe extern "C" fn esp_wifi_wps_enable(
config: *const esp_wps_config_t,
) -> esp_err_t
Expand description
@brief Enable Wi-Fi WPS function.
@param config : WPS config to be used in connection
@return - ESP_OK : succeed - ESP_ERR_WIFI_WPS_TYPE : wps type is invalid - ESP_ERR_WIFI_WPS_MODE : wifi is not in station mode or sniffer mode is on - ESP_FAIL : wps initialization fails