Skip to content

Commit

Permalink
Fix enum in UDS BMW definitions (#4150)
Browse files Browse the repository at this point in the history
  • Loading branch information
polybassa authored Oct 25, 2023
1 parent b95fdc7 commit 36c074d
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions scapy/contrib/automotive/bmw/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,30 +252,30 @@ def i2repr(self, pkt, x):

class SVK_Entry(Packet):
process_classes = {
"0x01": "HWEL",
"0x02": "HWAP",
"0x03": "HWFR",
"0x05": "CAFD",
"0x06": "BTLD",
"0x08": "SWFL",
"0x09": "SWFF",
"0x0A": "SWPF",
"0x0B": "ONPS",
"0x0F": "FAFP",
"0x1A": "TLRT",
"0x1B": "TPRG",
"0x07": "FLSL",
"0x0C": "IBAD",
"0x10": "FCFA",
"0x1C": "BLUP",
"0x1D": "FLUP",
"0xC0": "SWUP",
"0xC1": "SWIP",
"0xA0": "ENTD",
"0xA1": "NAVD",
"0xA2": "FCFN",
"0x04": "GWTB",
"0x0D": "SWFK",
0x01: "HWEL",
0x02: "HWAP",
0x03: "HWFR",
0x05: "CAFD",
0x06: "BTLD",
0x08: "SWFL",
0x09: "SWFF",
0x0A: "SWPF",
0x0B: "ONPS",
0x0F: "FAFP",
0x1A: "TLRT",
0x1B: "TPRG",
0x07: "FLSL",
0x0C: "IBAD",
0x10: "FCFA",
0x1C: "BLUP",
0x1D: "FLUP",
0xC0: "SWUP",
0xC1: "SWIP",
0xA0: "ENTD",
0xA1: "NAVD",
0xA2: "FCFN",
0x04: "GWTB",
0x0D: "SWFK",
}
"""
HWEL - Hardware (Elektronik) - Hardware (Electronics)
Expand Down

0 comments on commit 36c074d

Please sign in to comment.