Send a notification asynchronously to the remote device.
#include <btapi/btgattsrv.h>
int bt_gatt_srv_send_notification_async(int instance, const char *addr, uint8_t type, uint16_t handle, const uint8_t *val, uint16_t len, bt_gatt_srv_send_notification_cb cb, void *user_data)
BlackBerry 10.3.0
The instance number representing the local GATT service.
The address of the remote device which the notification is to be sent to.
The device type identifier. Refer to constants prefixed with BT_DEVICE_TYPE_.
The handle of the attribute that the notification belongs to.
The binary data being sent in the notification.
The length of the data to be sent in the notification.
The callback function to be executed when the operation has completed.
A user specified pointer that is returned during the callback.