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

◆ bt_ancs_request_attrs()

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.

Parameters
[in]ancs_cANCS client instance.
[in]notifPointer to the notification whose attributes will be requested from the Notification Provider.
[in]funcCallback function for handling NP write response.
Return values
0If all operations are successful. Otherwise, a (negative) error code is returned.