nRF Connect SDK API 2.8.99
|
int bt_cts_subscribe_current_time | ( | struct bt_cts_client * | cts_c, |
bt_cts_notify_cb | func ) |
#include <include/bluetooth/services/cts_client.h>
Subscribe to the current time value change notification.
[in] | cts_c | Current Time Service client structure. |
[in] | func | The callback function. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |