OSDN Git Service

Fix v2 format decoding in btsnooz.py
authorNeil Mayhew <neil@mayhew.name>
Thu, 10 Dec 2020 03:14:15 +0000 (20:14 -0700)
committerMartin Brabham <optedoblivion@google.com>
Wed, 13 Jan 2021 19:07:33 +0000 (19:07 +0000)
commit9fb790e6c8498b948411eae33530d9fe71316c91
tree3ec904a8b31601617b2fdac50862a3be534b4e47
parent71e7b10ff97d6ececa7038a7bd86883c6e8491df
Fix v2 format decoding in btsnooz.py

The delta_time_ms field now seems to be 64 bits instead of 32. Without
this change, dumps fail to decode and the script exits with a TypeError
because type_to_hci encounters an unknown packet type.

Bug: 175283029
Test: ./btsnooz.py bugreport-WXYZ.txt
Tag: #refactor
Sponsor: optedoblivion@
Change-Id: Ib893ee63abacf5335a4cbabb1dbdfc1702da77e6
tools/scripts/btsnooz.py