nRF Connect SDK API 2.8.99
|
int bt_cts_client_init | ( | struct bt_cts_client * | cts_c | ) |
#include <include/bluetooth/services/cts_client.h>
Function for initializing the Current Time Service client.
[out] | cts_c | Current Time Service client structure. This structure must be supplied by the application. It is initialized by this function and can later be used to identify this particular client instance. |
0 | If the client was initialized successfully. Otherwise, a (negative) error code is returned. |