diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 878a976c..d8ce0119 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -37,6 +37,7 @@ Fixed * Minor fix for disconnection event handling in BlueZ backend. Fixes #491. * Corrections for the Philips Hue lamp example. Merged #505 * Fixed BleakClientBlueZDBus.pair() method always returning True. Fixes #503. +* Fixed write without response on BlueZ < 5.51. `0.11.0`_ (2021-03-17) diff --git a/bleak/backends/bluezdbus/client.py b/bleak/backends/bluezdbus/client.py index 46664c65..0dc5a301 100644 --- a/bleak/backends/bluezdbus/client.py +++ b/bleak/backends/bluezdbus/client.py @@ -821,7 +821,7 @@ async def write_gatt_char( ) ) assert_reply(reply) - fd = reply.body[0] + fd = reply.unix_fds[0] try: os.write(fd, data) finally: