Skip to content

Commit

Permalink
Fixed BlueZ version in passive scanning error message.
Browse files Browse the repository at this point in the history
Apperently the feature changed between 5.55 and 5.56 so >= 5.56 is requrired.

Fixes #1433.
  • Loading branch information
dlech committed Oct 24, 2023
1 parent 42797ed commit 2d70d1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Changed
-------
* Updated PyObjC dependency on macOS to v10.x.

Fixed
-----
* Fixed BlueZ version in passive scanning error message. Fixes #1433.

`0.21.1`_ (2023-09-08)
======================

Expand Down
2 changes: 1 addition & 1 deletion bleak/backends/bluezdbus/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ async def passive_scan(
and reply.error_name == "org.freedesktop.DBus.Error.UnknownMethod"
):
raise BleakError(
"passive scanning on Linux requires BlueZ >= 5.55 with --experimental enabled and Linux kernel >= 5.10"
"passive scanning on Linux requires BlueZ >= 5.56 with --experimental enabled and Linux kernel >= 5.10"
)

assert_reply(reply)
Expand Down

0 comments on commit 2d70d1c

Please sign in to comment.