From 0a200567f5751a3a0a8da512a2851d966694a366 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 25 Aug 2013 12:20:57 -0700 Subject: [PATCH] tools: Update magic definition for BTSnoop file format --- tools/magic.btsnoop | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/tools/magic.btsnoop b/tools/magic.btsnoop index dfd5ecb9e..ebb845d7a 100644 --- a/tools/magic.btsnoop +++ b/tools/magic.btsnoop @@ -4,10 +4,18 @@ # # From 0 string btsnoop\0 BTSnoop ->8 belong x version %d, ->12 belong 1001 Unencapsulated HCI ->12 belong 1002 HCI UART (H4) ->12 belong 1003 HCI BCSP ->12 belong 1004 HCI Serial (H5) ->12 belong 2001 Bluetooth monitor ->>12 belong x type %d +>8 belong x version %ld, +>>8 belong !1 +>>>12 belong x type %ld +>8 belong =1 +>>12 belong <1001 type %ld +>>12 belong >1000 +>>>12 belong =1001 Unencapsulated HCI +>>>12 belong =1002 HCI UART (H4) +>>>12 belong =1003 HCI BCSP +>>>12 belong =1004 HCI Serial (H5) +>>>12 belong >1004 +>>>>12 belong <2001 type %ld +>>>>12 belong =2001 Bluetooth monitor +>>>>12 belong =2002 Bluetooth simulator +>>>>12 belong >2002 type %ld -- 2.47.3