From: Marcel Holtmann Date: Sun, 25 Aug 2013 19:20:57 +0000 (-0700) Subject: tools: Update magic definition for BTSnoop file format X-Git-Tag: android-x86-4.4-r3~7728 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0a200567f5751a3a0a8da512a2851d966694a366;p=android-x86%2Fexternal-bluetooth-bluez.git tools: Update magic definition for BTSnoop file format --- 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