User Manual

Table Of Contents
4-20 Millennial Net
Using the MeshScape API
13. ibApi_SetEventMask()
ibApi_SetEventMask(
ibApi_APIHANDLE api_hdl,
ibApi_DEVICEEVENTTYPE event,
ibApi_DEVICEID device_id
);
This function sets the event mask for the triggering of asynchronous events.
Parameters:
api_hdl: (input) API handle returned from ibApi_Open().
event: (input) The event mask.
device_id: (output) ID of the device that changed.
Return Value:
An ibApi_RESULT_SUCCESS if a device changed or an error code (<0) if unsuccessful.
14. ibApi_GetEventMask()
ibApi_FUNC ibApi_GetEventMask(
ibApi_APIHANDLE api_hdl,
ibApi_DEVICEEVENTTYPE * event,
ibApi_DEVICEID device_id
);
This function gets the event mask for the triggering of asynchronous events.
Parameters:
api_hdl: (input) API handle returned from ibApi_Open().
event: (output) The event mask storage location.
device_id: (output) ID of the device that changed.
Return Value:
An ibApi_RESULT_SUCCESS if a device changed or an error code (<0) if unsuccessful.