OSDN Git Service

tools: Update magic definition for BTSnoop file format
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 25 Aug 2013 19:20:57 +0000 (12:20 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 25 Aug 2013 19:20:57 +0000 (12:20 -0700)
tools/magic.btsnoop

index dfd5ecb..ebb845d 100644 (file)
@@ -4,10 +4,18 @@
 #
 # From <marcel@holtmann.org>
 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