bt_gatt_write_value_cb

The callback prototype to indicate that bt_gatt_write_value_async has completed.

Synopsis:

#include <btapi/btgatt.h>
 
typedef void(* bt_gatt_write_value_cb)(int instance, uint16_t handle, bt_gatt_att_error_t error, void *user_data);

Arguments:

instance

The identifier used to reference the connected primary service.

handle

The handle where the value was written.

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: