Skip to content

Commit efa70bc

Browse files
authored
Merge pull request #12 from dhalbert/match_prefixes
prefix -> match_prefixes
2 parents 54cb397 + 6b822fa commit efa70bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ble_radio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
class _RadioAdvertisement(Advertisement):
6666
"""Broadcast arbitrary bytes as a radio message."""
6767

68-
prefix = struct.pack("<BBH", 0x3, 0xFF, _ADAFRUIT_COMPANY_ID)
68+
match_prefixes = (struct.pack("<BH", 0xFF, _ADAFRUIT_COMPANY_ID),)
6969
manufacturer_data = LazyObjectField(
7070
ManufacturerData,
7171
"manufacturer_data",

0 commit comments

Comments
 (0)