...
The remainder of example.cpp essentially contains the callback functions previously registered with the IDL library in main.cpp. These callback functions provide entry points for the custom driver to insert code to execute based on various events such as creating a new device using the protocol, provisioning a device, requests to read and write data points and so on. A complete list of available callback functions can be found in the IAP Driver Library (IDL) /wiki/spaces/DevReqSSIoT25/pages/951349. This example driver contains simple implementations of many of the common callback functions. These example callback functions output basic information to the console when called to assist in understanding the interaction between the IDL library and a custom driver and the basic parameters passed with these functions.
...