esp_smartconfig_set_type() function
Set protocol type of SmartConfig. @attention If users need to set the SmartConfig type, please set it before calling esp_smartconfig_start.
Arguments
type
Choose from the smartconfig_type_t.
Return value
- ESP_OK: succeed - others: fail