Support for long reads/writes?
See original GitHub issueJust wondering if support for long reads/writes is planned? Trying to write_gatt_char with a bytearray larger than the mtu results in a:
Connected: True Traceback (most recent call last): File "./ble2.py", line 30, in <module> loop.run_until_complete(run(address, loop, True)) File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "./ble2.py", line 21, in run await client.write_gatt_char('0000abf1-0000-1000-8000-00805f9b34fb', bytearray(text, 'utf-8')) File "/home/chris/.local/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 540, in write_gatt_char await self._bus.callRemote( txdbus.error.RemoteError: org.bluez.Error.Failed: Failed to initiate write
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
Thanks!
What is your version info?
bluetoothctl -v
) in case of Linux: