pub unsafe extern "C" fn esp_smartconfig_set_type(
    type_: smartconfig_type_t
) -> esp_err_t
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