Skip to content

Commit 8330e18

Browse files
authored
fix: android beacons in passive mode with flags 0x02 (#31)
1 parent 71bd22a commit 8330e18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/habluetooth/scanner.py

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
# will match all devices.
3939
PASSIVE_SCANNER_ARGS = BlueZScannerArgs(
4040
or_patterns=[
41+
OrPattern(0, AdvertisementDataType.FLAGS, b"\x02"),
4142
OrPattern(0, AdvertisementDataType.FLAGS, b"\x06"),
4243
OrPattern(0, AdvertisementDataType.FLAGS, b"\x1a"),
4344
]

0 commit comments

Comments
 (0)