nRF Connect SDK API 2.8.99
|
int bt_ancs_notification_action | ( | struct bt_ancs_client * | ancs_c, |
uint32_t | uuid, | ||
enum bt_ancs_action_id_values | action_id, | ||
bt_ancs_write_cb | func ) |
#include <include/bluetooth/services/ancs_client.h>
Function for performing a notification action.
[in] | ancs_c | ANCS client instance. |
[in] | uuid | The UUID of the notification for which to perform the action. |
[in] | action_id | Perform a positive or negative action. |
[in] | func | Callback function for handling NP write response. |
0 | If the operation is successful. Otherwise, a (negative) error code is returned. |