mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-08 03:46:00 +00:00
tool: handle SCO packets in create_packet_log.py
This commit is contained in:
parent
709c5ddd29
commit
811ddedbd4
@ -130,6 +130,14 @@ with open (outfile, 'wb') as fout:
|
|||||||
if rest:
|
if rest:
|
||||||
handleHexPacket(fout, timestamp, 3, rest)
|
handleHexPacket(fout, timestamp, 3, rest)
|
||||||
continue
|
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 -- ')
|
rest = chop(line,'LOG -- ')
|
||||||
if rest:
|
if rest:
|
||||||
line = rest
|
line = rest
|
||||||
|
Loading…
Reference in New Issue
Block a user