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

◆ bt_ancs_notification_action()

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.

Parameters
[in]ancs_cANCS client instance.
[in]uuidThe UUID of the notification for which to perform the action.
[in]action_idPerform a positive or negative action.
[in]funcCallback function for handling NP write response.
Return values
0If the operation is successful. Otherwise, a (negative) error code is returned.