GrowNode
gn_event_source.h File Reference

Macros

#define GN_EVENT_ANY_ID   ESP_EVENT_ANY_ID
 

Enumerations

enum  gn_event_id_t {
  GN_LEAF_INIT_REQUEST_EVENT = 0x001 , GN_LEAF_MESSAGE_RECEIVED_EVENT = 0x002 , GN_LEAF_ADDED_EVENT = 0x003 , GN_LEAF_PARAM_CHANGED_EVENT = 0x102 ,
  GN_LEAF_PARAM_INITIALIZED_EVENT = 0x103 , GN_LEAF_PARAM_CHANGE_REQUEST_EVENT = 0x104 , GN_SYSTEM_MESSAGE_RECEIVED_EVENT = 0x201 , GN_LOG_EVENT = 0x202 ,
  GN_GUI_LOG_EVENT = 0x301 , GN_NET_CONNECTED_EVENT = 0x401 , GN_NET_DISCONNECTED_EVENT = 0x402 , GN_NET_MSG_RECV = 0x403 ,
  GN_NET_OTA_START = 0x404 , GN_NET_RST_START = 0x405 , GN_NET_RBT_START = 0x406 , GN_SRV_CONNECTED_EVENT = 0x501 ,
  GN_SRV_DISCONNECTED_EVENT = 0x502 , GN_SRV_KEEPALIVE_TRIGGERED_EVENT = 0x503 , GN_NODE_STARTED_EVENT = 0x601
}
 

Variables

esp_event_base_t GN_BASE_EVENT
 

Macro Definition Documentation

◆ GN_EVENT_ANY_ID

#define GN_EVENT_ANY_ID   ESP_EVENT_ANY_ID

Enumeration Type Documentation

◆ gn_event_id_t

Enumerator
GN_LEAF_INIT_REQUEST_EVENT 

used internally to leaf event queue

GN_LEAF_MESSAGE_RECEIVED_EVENT 

a message has been received

GN_LEAF_ADDED_EVENT 
GN_LEAF_PARAM_CHANGED_EVENT 
GN_LEAF_PARAM_INITIALIZED_EVENT 
GN_LEAF_PARAM_CHANGE_REQUEST_EVENT 
GN_SYSTEM_MESSAGE_RECEIVED_EVENT 
GN_LOG_EVENT 
GN_GUI_LOG_EVENT 
GN_NET_CONNECTED_EVENT 
GN_NET_DISCONNECTED_EVENT 
GN_NET_MSG_RECV 
GN_NET_OTA_START 
GN_NET_RST_START 
GN_NET_RBT_START 
GN_SRV_CONNECTED_EVENT 
GN_SRV_DISCONNECTED_EVENT 
GN_SRV_KEEPALIVE_TRIGGERED_EVENT 
GN_NODE_STARTED_EVENT 

Variable Documentation

◆ GN_BASE_EVENT

esp_event_base_t GN_BASE_EVENT
extern