Perform a Generic Attribute (GATT) call to asynchronously write a value from a provided handle.
#include <btapi/btgatt.h>
int bt_gatt_write_value_async(int instance, uint16_t handle, uint16_t offset, const uint8_t *data, int size, bt_gatt_write_value_cb cb, void *user_data)
BlackBerry 10.3.0
The identifier used to reference the connected primary service.
The to the value to be written.
The offset to begin writing from.
An array of data to be written.
The size of the array to be written.
The callback function to be executed when the operation has completed.
A user specified pointer that is returned during the callback.
The size of the value to be written cannot be larger than ATT_MTU-3 bytes.