Kolibri library – API Documentation

Header image

Main page


KolibriErr KOLIBRI_FUNC_ATTR kolibriRegisterClockUpdateCb ( KolibriClockUpdateCb  cb)

Register clock update callback.

The Kolibri library needs valid system time before it can exchange data with the Broker. If no valid system time is available by the time the library logs in to the Broker, it will query the time from the Broker. It will then call a call-back function registered through this function to pass the time to the application, so that it can set the system clock.
Note that this is not the most accurate way to sychronise your system clock.

Parameters
cbCall-back function
Returns
Returns one of the following codes:
See also
kolibriClockUpdate()
Reentrance
Yes
Note
You must not call any API functions of the Kolibri library except for kolibriClockUpdate() inside the callback function.
Since
1.0.0





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated by Doxygen 1.8.10