File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -102,5 +102,5 @@ class IBeacon_Data(Packet):
102
102
103
103
104
104
bind_layers (EIR_Manufacturer_Specific_Data , Apple_BLE_Frame ,
105
- company_id = APPLE_MFG )
105
+ company_identifier = APPLE_MFG )
106
106
bind_layers (Apple_BLE_Submessage , IBeacon_Data , subtype = 2 )
Original file line number Diff line number Diff line change @@ -1172,9 +1172,13 @@ class EIR_PeripheralConnectionIntervalRange(EIR_Element):
1172
1172
1173
1173
class EIR_Manufacturer_Specific_Data (EIR_Element ):
1174
1174
name = "EIR Manufacturer Specific Data"
1175
+ deprecated_fields = {
1176
+ "company_id" : ("company_identifier" , "2.6.2" ),
1177
+ }
1175
1178
fields_desc = [
1176
1179
# https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers
1177
- XLEShortField ("company_id" , None ),
1180
+ LEShortEnumField ("company_identifier" , None ,
1181
+ BLUETOOTH_CORE_COMPANY_IDENTIFIERS ),
1178
1182
]
1179
1183
1180
1184
registered_magic_payloads = {}
You can’t perform that action at this time.
0 commit comments