File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,5 +102,5 @@ class IBeacon_Data(Packet):
102102
103103
104104bind_layers (EIR_Manufacturer_Specific_Data , Apple_BLE_Frame ,
105- company_id = APPLE_MFG )
105+ company_identifier = APPLE_MFG )
106106bind_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):
11721172
11731173class EIR_Manufacturer_Specific_Data (EIR_Element ):
11741174 name = "EIR Manufacturer Specific Data"
1175+ deprecated_fields = {
1176+ "company_id" : ("company_identifier" , "2.6.2" ),
1177+ }
11751178 fields_desc = [
11761179 # https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers
1177- XLEShortField ("company_id" , None ),
1180+ LEShortEnumField ("company_identifier" , None ,
1181+ BLUETOOTH_CORE_COMPANY_IDENTIFIERS ),
11781182 ]
11791183
11801184 registered_magic_payloads = {}
You can’t perform that action at this time.
0 commit comments