User's Manual

Table Of Contents
4-12 Millennial Net
Using the MeshScape API
14. ibApi_DIO_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 direction; // 1=input, 0=output, 0xFF=undefined
ibApi_DEVICEID deviceID;
ibApi_UINT8 channelMask; // 0 = no data
ibApi_UINT8 channelData;
}
This data structure will be passed to event callbacks to convey information about DIO events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.
15. ibApi_Device_State_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 reserved; // for alignment
ibApi_DEVICEID deviceID;
ibApi_DEVICESTATE state;
}
This data structure will be passed to event callbacks to convey information about device state
events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.
16. ibApi_Sampling_Interval_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 reserved; // for alignement
ibApi_DEVICEID deviceID;
ibApi_UINT32 samplingInterval; // in milliseconds
}
This data structure will be passed to event callbacks to convey information about sampling
interval events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.