nRF Connect SDK API 0.1.0
|
int bt_ancs_request_app_attr | ( | struct bt_ancs_client * | ancs_c, |
const uint8_t * | app_id, | ||
uint32_t | len, | ||
bt_ancs_write_cb | func | ||
) |
#include <include/bluetooth/services/ancs_client.h>
Function for requesting attributes for a given app.
[in] | ancs_c | ANCS client instance. |
[in] | app_id | App identifier of the app for which the app attributes are requested. |
[in] | len | Length of the app identifier. |
[in] | func | Callback function for handling NP write response. |
0 | If all operations are successful. Otherwise, a (negative) error code is returned. |