User Manual

Table Of Contents
RK-5409-5 Reference Kit User’s Guide 4-11
iBeanAPI.h
11. ibApi_DEVICEEVENTTYPE
enum ibApi_DEVICEEVENTTYPE_e {
ibApi_DEVICEEVENTTYPE_ALL = 0xffffffff,
ibApi_DEVICEEVENTTYPE_INFO_CFG = 0x80000000,
ibApi_DEVICEEVENTTYPE_STATISTIC = 0x01000000,
ibApi_DEVICEEVENTTYPE_NETWORK = 0x00010000
ibApi_DEVICEEVENTTYPE_SERVICE_CAPACITY = 0x00020000,
ibApi_DEVICEEVENTTYPE_HEARTBEAT = 0x00008000,
ibApi_DEVICEEVENTTYPE_SRR_DAT = 0x00002000,
ibApi_DEVICEEVENTTYPE_BATTERY = 0x00001000,
ibApi_DEVICEEVENTTYPE_DIO_DAT = 0x00000800,
ibApi_DEVICEEVENTTYPE_ADC_DAT = 0x00000100,
ibApi_DEVICEEVENTTYPE_DEVSTATE = 0x00000080,
ibApi_DEVICEEVENTTYPE_SER_CFG = 0x00000020,
ibApi_DEVICEEVENTTYPE_SI_CFG = 0x00000010,
ibApi_DEVICEEVENTTYPE_DIO_CFG = 0x00000008,
ibApi_DEVICEEVENTTYPE_ADC_CFG = 0x00000001
};
typedef ibApi_UINT32 ibApi_DEVICEEVENTTYPE;
In this release it is possible to filter the events reported by ibApi_WaitForDeviceEvent() using
a bitwise “OR” of event types defined in this enum.
Structure Fields:
ALL All events unfiltered.
INFO_CFG This event type will not occur in this release.
STATISTIC Statistical data coming.
NETWORK Network routing change.
SERVICE_CAPACITY Network license or options exceeded.
HEARTBEAT Heart beat received.
SRR_DAT Serial data received.
BATTERY Battery level report.
DIO_DAT Digital IO data received.
ADC_DAT ADC data received.
DEVSTATE Device state change.
SER_CFG Serial configuration change.
SI_CFG Sampling interval change.
DIO_CFG Digital IO configuration change.
ADC_CFG ADC configuration change.