tool/create_packet_log: support ISO packets

This commit is contained in:
Matthias Ringwald 2024-08-23 09:31:17 +02:00
parent bf2045ffcf
commit 755c0732eb

View File

@ -146,6 +146,14 @@ with open (outfile, 'wb') as fout:
if rest:
handleHexPacket(fout, timestamp, 9, rest)
continue
rest = chop(line,'ISO => ')
if rest:
handleHexPacket(fout, timestamp, 0x0c, rest)
continue
rest = chop(line,'ISO <= ')
if rest:
handleHexPacket(fout, timestamp, 0x0d, rest)
continue
rest = chop(line,'LOG -- ')
if rest:
line = rest