Skip to content

Commit 36c074d

Browse files
authored
Fix enum in UDS BMW definitions (#4150)
1 parent b95fdc7 commit 36c074d

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

scapy/contrib/automotive/bmw/definitions.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -252,30 +252,30 @@ def i2repr(self, pkt, x):
252252

253253
class SVK_Entry(Packet):
254254
process_classes = {
255-
"0x01": "HWEL",
256-
"0x02": "HWAP",
257-
"0x03": "HWFR",
258-
"0x05": "CAFD",
259-
"0x06": "BTLD",
260-
"0x08": "SWFL",
261-
"0x09": "SWFF",
262-
"0x0A": "SWPF",
263-
"0x0B": "ONPS",
264-
"0x0F": "FAFP",
265-
"0x1A": "TLRT",
266-
"0x1B": "TPRG",
267-
"0x07": "FLSL",
268-
"0x0C": "IBAD",
269-
"0x10": "FCFA",
270-
"0x1C": "BLUP",
271-
"0x1D": "FLUP",
272-
"0xC0": "SWUP",
273-
"0xC1": "SWIP",
274-
"0xA0": "ENTD",
275-
"0xA1": "NAVD",
276-
"0xA2": "FCFN",
277-
"0x04": "GWTB",
278-
"0x0D": "SWFK",
255+
0x01: "HWEL",
256+
0x02: "HWAP",
257+
0x03: "HWFR",
258+
0x05: "CAFD",
259+
0x06: "BTLD",
260+
0x08: "SWFL",
261+
0x09: "SWFF",
262+
0x0A: "SWPF",
263+
0x0B: "ONPS",
264+
0x0F: "FAFP",
265+
0x1A: "TLRT",
266+
0x1B: "TPRG",
267+
0x07: "FLSL",
268+
0x0C: "IBAD",
269+
0x10: "FCFA",
270+
0x1C: "BLUP",
271+
0x1D: "FLUP",
272+
0xC0: "SWUP",
273+
0xC1: "SWIP",
274+
0xA0: "ENTD",
275+
0xA1: "NAVD",
276+
0xA2: "FCFN",
277+
0x04: "GWTB",
278+
0x0D: "SWFK",
279279
}
280280
"""
281281
HWEL - Hardware (Elektronik) - Hardware (Electronics)

0 commit comments

Comments
 (0)