User's Manual

Table Of Contents
4-24 Millennial Net
Using the MeshScape API
17. ibApi_Block (void)
ibApi_FUNC ibApi_Block(void);
This function provides locking of shared data areas from within the application event
callback. This function is to be called prior to accessing the data record returned to the
callback function.
Parameters:
None.
Return Value:
An ibApi_RESULT_SUCCESS if a device changed or an error code (<0) if unsuccessful.
18. ibApi_UnBlock (void)
ibApi_FUNC ibApi_UnBlock(void);
This function releases lock of shared data area from within the application event callback
function. This must be called prior to exiting the application event callback if the ibApi_Block
function was previously invoked.
Parameters:
None.
Return Value:
An ibApi_RESULT_SUCCESS if a device changed or an error code (<0) if unsuccessful.