bt_gatt_notifications_cb

The callback prototype to indicate a notification or indication event has occurred.

Synopsis:

#include <btapi/btgatt.h>
 
typedef void(* bt_gatt_notifications_cb)(int instance, uint16_t handle, const uint8_t *val, uint16_t len, void *userData);

Arguments:

instance

The identifier used to reference the service connection.

handle

The valueHandle of the characteristic which caused the event.

val

A pointer to the data sent in the notification.

len

The length of data sent.

userData

Pointer to user data defined in connection request.

Since:

BlackBerry 10.0.0

Library:

libbtapi (For the qcc command, use the -l btapi option to link against this library)

Description: