From 811ddedbd46bcd05ec296a6b924042d8f9110679 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 13 Oct 2017 23:13:43 +0200 Subject: [PATCH] tool: handle SCO packets in create_packet_log.py --- tool/create_packet_log.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tool/create_packet_log.py b/tool/create_packet_log.py index c8ba81f55..14b36322f 100755 --- a/tool/create_packet_log.py +++ b/tool/create_packet_log.py @@ -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