tool: handle SCO packets in create_packet_log.py

This commit is contained in:
Matthias Ringwald 2017-10-13 23:13:43 +02:00
parent 709c5ddd29
commit 811ddedbd4

View File

@ -130,6 +130,14 @@ with open (outfile, 'wb') as fout:
if rest:
handleHexPacket(fout, timestamp, 3, rest)
continue
rest = chop(line,'SCO => ')
if rest:
handleHexPacket(fout, timestamp, 8, rest)
continue
rest = chop(line,'SCO <= ')
if rest:
handleHexPacket(fout, timestamp, 9, rest)
continue
rest = chop(line,'LOG -- ')
if rest:
line = rest