ESP8266 Centre + NB
类型定义 | 枚举 | 函数
smartconfig.h 文件参考

浏览源代码.

类型定义

typedef void(* sc_callback_t )(sc_status status, void *pdata)
 

枚举

enum  sc_status {
  SC_STATUS_WAIT = 0, SC_STATUS_FIND_CHANNEL, SC_STATUS_GETTING_SSID_PSWD, SC_STATUS_LINK,
  SC_STATUS_LINK_OVER
}
 
enum  sc_type { SC_TYPE_ESPTOUCH = 0, SC_TYPE_AIRKISS, SC_TYPE_ESPTOUCH_AIRKISS }
 

函数

const char * smartconfig_get_version (void)
 
bool smartconfig_start (sc_callback_t cb,...)
 
bool smartconfig_stop (void)
 
bool esptouch_set_timeout (uint8 time_s)
 
bool smartconfig_set_type (sc_type type)
 

类型定义说明

typedef void(* sc_callback_t)(sc_status status, void *pdata)

枚举类型说明

enum sc_status
枚举值
SC_STATUS_WAIT 
SC_STATUS_FIND_CHANNEL 
SC_STATUS_GETTING_SSID_PSWD 
SC_STATUS_LINK 
SC_STATUS_LINK_OVER 
28  {
29  SC_STATUS_WAIT = 0,
34 } sc_status;
Definition: smartconfig.h:32
sc_status
Definition: smartconfig.h:28
Definition: smartconfig.h:31
Definition: smartconfig.h:29
Definition: smartconfig.h:33
Definition: smartconfig.h:30
enum sc_type
枚举值
SC_TYPE_ESPTOUCH 
SC_TYPE_AIRKISS 
SC_TYPE_ESPTOUCH_AIRKISS 
36  {
37  SC_TYPE_ESPTOUCH = 0,
40 } sc_type;
sc_type
Definition: smartconfig.h:36
Definition: smartconfig.h:37
Definition: smartconfig.h:38
Definition: smartconfig.h:39

函数说明

const char* smartconfig_get_version ( void  )
bool smartconfig_start ( sc_callback_t  cb,
  ... 
)
bool smartconfig_stop ( void  )
bool esptouch_set_timeout ( uint8  time_s)
bool smartconfig_set_type ( sc_type  type)