Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
Sming constant values

Constants and enumerated lists used by Sming functions. More...

Classes

struct  EspDigitalPin
 ESP GPIO pin configuration. More...
 

Enumerations

enum  eDBGPrefix {
  eDBGnoPrefix = 0,
  eDBGusePrefix = 1
}
 Debug prefix state. More...
 
enum  TimeZone {
  eTZ_UTC = 0,
  eTZ_Local = 1
}
 Time zones. More...
 
enum  SystemClockStatus {
  eSCS_Initial = 0,
  eSCS_Set = 1
}
 System clock status. More...
 
enum  GPIO_INT_TYPE {
  GPIO_PIN_INTR_DISABLE = 0,
  GPIO_PIN_INTR_POSEDGE = 1,
  GPIO_PIN_INTR_NEGEDGE = 2,
  GPIO_PIN_INTR_ANYEDGE = 3,
  GPIO_PIN_INTR_LOLEVEL = 4,
  GPIO_PIN_INTR_HILEVEL = 5
}
 Defines the GPIO interrupt type. More...
 
enum  StreamType {
  eSST_Invalid,
  eSST_Memory,
  eSST_File,
  eSST_Template,
  eSST_JsonObject,
  eSST_User,
  eSST_Unknown
}
 Data stream type. More...
 
enum  TemplateExpandState {
  eTES_Wait,
  eTES_Found,
  eTES_StartVar,
  eTES_SendingVar
}
 Template file stream expand state. More...
 
enum  EStationConnectionStatus {
  eSCS_Idle = 0,
  eSCS_Connecting,
  eSCS_WrongPassword,
  eSCS_AccessPointNotFound,
  eSCS_ConnectionFailed,
  eSCS_GotIP
}
 WiFi station connection states. More...
 
enum  SmartConfigType {
  SCT_EspTouch = SC_TYPE_ESPTOUCH,
  SCT_AirKiss = SC_TYPE_AIRKISS,
  SCT_EspTouch_AirKiss = SC_TYPE_ESPTOUCH_AIRKISS
}
 Smart configuration type. More...
 
enum  SmartConfigEvent {
  SCE_Wait = SC_STATUS_WAIT,
  SCE_FindChannel = SC_STATUS_FIND_CHANNEL,
  SCE_GotSsid = SC_STATUS_GETTING_SSID_PSWD,
  SEC_Link = SC_STATUS_LINK,
  SEC_LinkOver = SC_STATUS_LINK_OVER
}
 Smart configuration event. More...
 
typedef Vector< BssInfoBssList
 List of BSS. More...
 
enum  CpuFrequency {
  eCF_80MHz = 80,
  eCF_160MHz = 160
}
 CPU Frequency. More...
 
enum  DeepSleepOptions {
  eDSO_RF_CAL_BY_INIT_DATA = 0,
  eDSO_RF_CAL_ALWAYS = 1,
  eDSO_RF_CAL_NEVER = 2,
  eDSO_DISABLE_RF
}
 Deep sleep options. More...
 
enum  SystemState {
  eSS_None,
  eSS_Intializing,
  eSS_Ready
}
 System state. More...
 

Detailed Description

Constants and enumerated lists used by Sming functions.

Typedef Documentation

List of BSS.

Enumeration Type Documentation

CPU Frequency.

Enumerator
eCF_80MHz 

CPU 80MHz.

eCF_160MHz 

CPU 160MHz.

Deep sleep options.

enum eDBGPrefix

Debug prefix state.

Enumerator
eDBGnoPrefix 

Do not use debug prefix.

eDBGusePrefix 

Use debug prefix.

WiFi station connection states.

Enumerator
eSCS_Idle 

WiFi station connection idle.

eSCS_Connecting 

Wifi station connecting.

eSCS_WrongPassword 

WiFi station wrong password.

eSCS_AccessPointNotFound 

WiFi station AP not found.

eSCS_ConnectionFailed 

WiFi station connectoin failed.

eSCS_GotIP 

WiFi station got IP address.

Defines the GPIO interrupt type.

Smart configuration event.

Smart configuration type.

enum StreamType

Data stream type.

Enumerator
eSST_Invalid 

Stream content not valid.

eSST_Memory 

Memory data stream.

eSST_File 

File data stream.

eSST_Template 

Template data stream.

eSST_JsonObject 

JSON object data stream.

eSST_User 

User defined data stream.

eSST_Unknown 

Unknown data stream type.

System clock status.

Enumerator
eSCS_Initial 

Clock not yet set.

eSCS_Set 

Clock set.

System state.

Template file stream expand state.

Enumerator
eTES_Wait 

Template expand state wait.

eTES_Found 

Template expand state found.

eTES_StartVar 

Template expand state start variable.

eTES_SendingVar 

Template expand state sending variable.

enum TimeZone

Time zones.

Enumerator
eTZ_UTC 

Use universal time coordinate (UTC)

eTZ_Local 

Use local time.