nRF Connect SDK API 0.1.0
|
int bt_ancs_request_attrs | ( | struct bt_ancs_client * | ancs_c, |
const struct bt_ancs_evt_notif * | notif, | ||
bt_ancs_write_cb | func | ||
) |
#include <include/bluetooth/services/ancs_client.h>
Function for requesting attributes for a notification.
[in] | ancs_c | ANCS client instance. |
[in] | notif | Pointer to the notification whose attributes will be requested from the Notification Provider. |
[in] | func | Callback function for handling NP write response. |
0 | If all operations are successful. Otherwise, a (negative) error code is returned. |