MeterLogger
Typedefs | Enumerations | Functions
smartconfig.h File Reference

Go to the source code of this file.

Typedefs

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

Enumerations

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 }
 

Functions

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 Documentation

◆ sc_callback_t

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

Definition at line 42 of file smartconfig.h.

Enumeration Type Documentation

◆ sc_status

enum sc_status
Enumerator
SC_STATUS_WAIT 
SC_STATUS_FIND_CHANNEL 
SC_STATUS_GETTING_SSID_PSWD 
SC_STATUS_LINK 
SC_STATUS_LINK_OVER 

Definition at line 28 of file smartconfig.h.

◆ sc_type

enum sc_type
Enumerator
SC_TYPE_ESPTOUCH 
SC_TYPE_AIRKISS 
SC_TYPE_ESPTOUCH_AIRKISS 

Definition at line 36 of file smartconfig.h.

Function Documentation

◆ esptouch_set_timeout()

bool esptouch_set_timeout ( uint8  time_s)

◆ smartconfig_get_version()

const char* smartconfig_get_version ( void  )

◆ smartconfig_set_type()

bool smartconfig_set_type ( sc_type  type)

◆ smartconfig_start()

bool smartconfig_start ( sc_callback_t  cb,
  ... 
)

◆ smartconfig_stop()

bool smartconfig_stop ( void  )