Register a callback to notify of Generic Attribute (GATT) events that occur.
#include <btapi/btgatt.h>
int bt_gatt_reg_notifications(int instance, bt_gatt_notifications_cb notify)
BlackBerry 10.0.0
The identifier used to reference the connected primary service.
The callback to call when an event occurs. Use a value of NULL to clear a callback that is registered to a primary service.
This function notifies you when both notification and indication events occur. You must pass in the handle to the primary service. You can pass a value of NULL to the notify argument to clear a callback that you previously registered.