File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 23
23
__version__ = "0.0.0-auto.0"
24
24
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git"
25
25
26
- _MANUFACTURING_DATA_ADT = const (0xFF )
27
- _ADAFRUIT_COMPANY_ID = const (0x0822 )
26
+ MANUFACTURING_DATA_ADT = const (0xFF )
27
+ ADAFRUIT_COMPANY_ID = const (0x0822 )
28
28
_COLOR_DATA_ID = const (0x0000 )
29
29
30
30
@@ -35,17 +35,18 @@ class AdafruitColor(Advertisement):
35
35
match_prefixes = (
36
36
struct .pack (
37
37
"<BHBH" ,
38
- _MANUFACTURING_DATA_ADT ,
39
- _ADAFRUIT_COMPANY_ID ,
38
+ MANUFACTURING_DATA_ADT ,
39
+ ADAFRUIT_COMPANY_ID ,
40
40
struct .calcsize ("<HI" ),
41
41
_COLOR_DATA_ID ,
42
42
),
43
43
)
44
44
manufacturer_data = LazyObjectField (
45
45
ManufacturerData ,
46
46
"manufacturer_data" ,
47
- advertising_data_type = _MANUFACTURING_DATA_ADT ,
48
- company_id = _ADAFRUIT_COMPANY_ID ,
47
+ advertising_data_type = MANUFACTURING_DATA_ADT ,
48
+ company_id =
49
+ ADAFRUIT_COMPANY_ID ,
49
50
key_encoding = "<H" ,
50
51
)
51
52
color = ManufacturerDataField (_COLOR_DATA_ID , "<I" )
You can’t perform that action at this time.
0 commit comments