Skip to content

Commit

Permalink
fix: android beacons in passive mode with flags 0x02 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorien authored Feb 29, 2024
1 parent 71bd22a commit 8330e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/habluetooth/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
# will match all devices.
PASSIVE_SCANNER_ARGS = BlueZScannerArgs(
or_patterns=[
OrPattern(0, AdvertisementDataType.FLAGS, b"\x02"),
OrPattern(0, AdvertisementDataType.FLAGS, b"\x06"),
OrPattern(0, AdvertisementDataType.FLAGS, b"\x1a"),
]
Expand Down

0 comments on commit 8330e18

Please sign in to comment.