Function esp_idf_sys::esp_smartconfig_internal_start
source ยท pub unsafe extern "C" fn esp_smartconfig_internal_start(
config: *const smartconfig_start_config_t,
) -> esp_err_t
Expand description
@brief Start SmartConfig, config ESP device to connect AP. You need to broadcast information by phone APP. Device sniffer special packets from the air that containing SSID and password of target AP.
@attention 1. This API can be called in station or softAP-station mode. @attention 2. Can not call esp_smartconfig_start twice before it finish, please call esp_smartconfig_stop first.
@param config pointer to smartconfig start configure structure
@return - ESP_OK: succeed - others: fail