diff options
Diffstat (limited to 'include/hardware/bt_gatt_client.h')
-rw-r--r-- | include/hardware/bt_gatt_client.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h index 1dc5e91e3..42468deb1 100644 --- a/include/hardware/bt_gatt_client.h +++ b/include/hardware/bt_gatt_client.h @@ -130,7 +130,8 @@ typedef void (*read_characteristic_callback)(int conn_id, int status, /** GATT write characteristic operation callback */ typedef void (*write_characteristic_callback)(int conn_id, int status, - uint16_t handle); + uint16_t handle, uint16_t len, + const uint8_t* value); /** GATT execute prepared write callback */ typedef void (*execute_write_callback)(int conn_id, int status); @@ -141,7 +142,8 @@ typedef void (*read_descriptor_callback)(int conn_id, int status, /** Callback invoked in response to write_descriptor */ typedef void (*write_descriptor_callback)(int conn_id, int status, - uint16_t handle); + uint16_t handle, uint16_t len, + const uint8_t* value); /** Callback triggered in response to read_remote_rssi */ typedef void (*read_remote_rssi_callback)(int client_if, const RawAddress& bda, |