Qmix SDK  20190716
The software libraries for integration of all CETONI devices.
Event Identifier

Overview

Event identifier returned in EventId when reading event queue.

See also
LCB_ReadEvent()
+ Collaboration diagram for Event Identifier:

Macros

#define LCB_EVENT_APP_LAYER   3
 Application layer specific event. More...
 
#define LCB_EVENT_DATA_LINK_LAYER   2
 Data link layer event. More...
 
#define LCB_EVENT_DEV_EMCY   5
 Device specific emergency event. More...
 
#define LCB_EVENT_ERR   4
 Error event. More...
 
#define LCB_EVENT_NETWORK   1
 Network event. More...
 

Macro Definition Documentation

◆ LCB_EVENT_APP_LAYER

#define LCB_EVENT_APP_LAYER   3

Application layer specific event.

◆ LCB_EVENT_DATA_LINK_LAYER

#define LCB_EVENT_DATA_LINK_LAYER   2

Data link layer event.

◆ LCB_EVENT_DEV_EMCY

#define LCB_EVENT_DEV_EMCY   5

Device specific emergency event.

Identifies device specific emergency messages. Devices use emergency events to indicate failures and unecpected events. This event returns the following data:

  • pData1 - Device handle of device that caused the emergency event
  • pData2 - Emergency error code
  • pData3 - unused

You can cast the data in pData1 to a device handle and then you can call the function LCB_GetDevErrMsg() with pData2 as parameter to get a descriptive error message string for the emergency error returned in pData2

◆ LCB_EVENT_ERR

#define LCB_EVENT_ERR   4

Error event.

◆ LCB_EVENT_NETWORK

#define LCB_EVENT_NETWORK   1

Network event.