Make a list

This commit is contained in:
Jesse Hills 2022-09-28 14:01:28 +13:00
parent a3a9f53cac
commit 65f77279d5
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

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