Skip to content

Commit

Permalink
Merge pull request #542 from dlech/bug/dbus-next-unix-fd
Browse files Browse the repository at this point in the history
Fixed write without response on BlueZ < 5.51.
  • Loading branch information
dlech authored May 19, 2021
2 parents 62f45b0 + b68217e commit a70a06e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion bleak/backends/bluezdbus/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a70a06e

Please sign in to comment.