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  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.
 
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.
 
typedef Vector< BssInfoBssList
 List of BSS.
 
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 = 4
}
 Deep sleep options.
 
enum  SystemState {
  eSS_None,
  eSS_Intializing,
  eSS_Ready
}
 System state.
 

Detailed Description

Constants and enumerated lists used by Sming functions.

Enumeration Type Documentation

CPU Frequency.

Enumerator
eCF_80MHz 

CPU 80MHz.

eCF_160MHz 

CPU 160MHz.

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.

Enumerator
GPIO_PIN_INTR_DISABLE 

Interrupt disabled for this pin

GPIO_PIN_INTR_POSEDGE 

Interrupt occurs on positive edge

GPIO_PIN_INTR_NEGEDGE 

Interrupt occurs on negative edge

GPIO_PIN_INTR_ANYEDGE 

Interrupt occurs on both positive and negative edge

GPIO_PIN_INTR_LOLEVEL 

Interrupt occurs when GPIO low

GPIO_PIN_INTR_HILEVEL 

Interrupt occurs when GPIO high

System clock status.

Enumerator
eSCS_Initial 

Clock not yet set.

eSCS_Set 

Clock set.

enum TimeZone

Time zones.

Enumerator
eTZ_UTC 

Use universal time coordinate (UTC / GMT)

eTZ_Local 

Use local time.