Function esp_idf_svc::sys::esp_smartconfig_set_type
source ยท pub unsafe extern "C" fn esp_smartconfig_set_type(type_: u32) -> i32
Expand description
@brief Set protocol type of SmartConfig.
@attention If users need to set the SmartConfig type, please set it before calling esp_smartconfig_start.
@param type Choose from the smartconfig_type_t.
@return - ESP_OK: succeed - others: fail