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

◆ bt_cts_client_init()

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.

Parameters
[out]cts_cCurrent 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.
Return values
0If the client was initialized successfully. Otherwise, a (negative) error code is returned.