25 #ifndef __SMARTCONFIG_H__
26 #define __SMARTCONFIG_H__
Definition: smartconfig.h:53
Definition: smartconfig.h:54
void(* sc_callback_t)(sc_status status, void *pdata)
The callback of SmartConfig, executed when smart-config status changed.
Definition: smartconfig.h:81
Definition: smartconfig.h:62
sc_type
Definition: smartconfig.h:60
bool smartconfig_set_type(sc_type type)
Set protocol type of SmartConfig.
Definition: smartconfig.h:55
const char * smartconfig_get_version(void)
Get the version of SmartConfig.
Definition: smartconfig.h:57
sc_status
Definition: smartconfig.h:52
Definition: smartconfig.h:63
Definition: smartconfig.h:56
bool smartconfig_start(sc_callback_t cb,...)
Start SmartConfig mode.
bool esptouch_set_timeout(uint8 time_s)
Set timeout of SmartConfig.
Definition: smartconfig.h:61
bool smartconfig_stop(void)
Stop SmartConfig, free the buffer taken by smartconfig_start.