Extend data

This commit is contained in:
Jesse Hills 2022-09-28 13:49:42 +13:00
parent 9e95e63972
commit a3a9f53cac
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 2 additions and 2 deletions

View File

@ -545,7 +545,7 @@ class APIClient:
req.address = address
req.handle = characteristic_handle
req.response = response
req.data = data
req.data.extend(data)
assert self._connection is not None
await self._connection.send_message(req)
@ -593,7 +593,7 @@ class APIClient:
req = BluetoothGATTWriteDescriptorRequest()
req.address = address
req.handle = handle
req.data = data
req.data.extend(data)
assert self._connection is not None
await self._connection.send_message(req)