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

◆ bt_cts_read_current_time()

int bt_cts_read_current_time ( struct bt_cts_client cts_c,
bt_cts_read_cb  func 
)

#include <include/bluetooth/services/cts_client.h>

Function for reading the peer's Current Time Service Current Time characteristic.

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