Skip to content

Commit

Permalink
Merge pull request #10 from dhalbert/match_prefixes
Browse files Browse the repository at this point in the history
prefix -> match_prefixes
  • Loading branch information
evaherrada authored Jun 18, 2020
2 parents 81aee22 + 1a0a9c1 commit 36f7810
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion adafruit_ble_broadcastnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ class AdafruitSensorMeasurement(Advertisement):
"""A collection of sensor measurements."""

# This prefix matches all
prefix = struct.pack("<BBH", 3, _MANUFACTURING_DATA_ADT, _ADAFRUIT_COMPANY_ID)
match_prefixes = (
struct.pack("<BBH", 3, _MANUFACTURING_DATA_ADT, _ADAFRUIT_COMPANY_ID),
)

manufacturer_data = LazyObjectField(
ManufacturerData,
Expand Down

0 comments on commit 36f7810

Please sign in to comment.