bt_gatt_characteristics_cb

The callback prototype to indicate that bt_gatt_characteristc_async has completed.

Synopsis:

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

Arguments:

instance

The identifier used to reference the service.

characteristics

An array of characteristics when operation completes successfully.

size

The size of the characteristic 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: