nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bt_cts_subscribe_current_time()

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.

Parameters
[in]cts_cCurrent Time Service client structure.
[in]funcThe callback function.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.