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

◆ bt_ancs_unsubscribe_data_source()

int bt_ancs_unsubscribe_data_source ( struct bt_ancs_client * ancs_c)

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

Function for writing to the CCCD to disable data source notifications from the ANCS.

Parameters
[in]ancs_cANCS client instance.
Return values
0If writing to the CCCD was successful. Otherwise, a (negative) error code is returned.