Function esp_idf_svc::hal::sys::esp_wifi_ap_wps_enable
source ยท pub unsafe extern "C" fn esp_wifi_ap_wps_enable(
config: *const esp_wps_config_t,
) -> i32
Expand description
@brief Enable Wi-Fi AP WPS function.
@attention WPS can only be used when softAP is enabled.
@param config: wps configuration to be used.
@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