About this task
In the C Library integration, some callbacks are part of, and passed with, a
This does not apply to callbacks that are not added to the
register_device_request structure. For these callbacks, see Implement callbacks.
We have defined a signature for each callback in the register_device_extern.h file. The signature we provide looks like:
You will need to implement callback functions with the same signature.
To use these callbacks:
Implement the callback. In the following example we will implement the
Assign a pointer for
callbacksdata structure within the
When you have populated
register_device_request.callbackswith each callback, pass
register_device_requestas a parameter of the