bt_gatt_descriptors_cb

The callback prototype to indicate that bt_gatt_descriptors_async has completed.

Synopsis:

#include <btapi/btgatt.h>
 
typedef void(* bt_gatt_descriptors_cb)(int instance, bt_gatt_characteristic_t *characteristic, bt_gatt_descriptor_t *descriptor, uint16_t size, bt_gatt_att_error_t error, void *user_data);

Arguments:

instance

The identifier used to reference the service.

characteristic

The characteristic for which descriptors are retrieved.

descriptor

An array of descriptors provided when operation completes successfully.

size

The size of the descriptor array. The size indicates the number of structures in the array and not the memory size required for the structures.

error

The ATT result of the operation.

user_data

The pointer to be returned when the callback is executed.

Since:

BlackBerry 10.3.0

Library:

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

Description: