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

◆ bt_ancs_client_init()

int bt_ancs_client_init ( struct bt_ancs_client * ancs_c)

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

Function for initializing the ANCS client.

Parameters
[out]ancs_cANCS client instance. This structure must be supplied by the application. It is initialized by this function and will later be used to identify this particular client instance.
Return values
0If the client was initialized successfully. Otherwise, a (negative) error code is returned.