Diff between 505bac019a787dd2f9b91ff87cb004cedd772a8d and e33fe5dec2079e2040ae98a9dcf0f3bdffb6a212

Changed Files

File Additions Deletions Status
Makefile.am +2 -0 modified
tools/magic.btsnoop +13 -0 added

Full Patch

diff --git a/Makefile.am b/Makefile.am
index 9337ffa..850f8bf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -205,6 +205,8 @@ EXTRA_DIST += doc/alert-api.txt \
 
 EXTRA_DIST += doc/obex-api.txt doc/obex-agent-api.txt
 
+EXTRA_DIST += tools/magic.btsnoop
+
 AM_CFLAGS += @DBUS_CFLAGS@ @GLIB_CFLAGS@
 
 AM_CPPFLAGS = -I$(builddir)/lib -I$(builddir)/src -I$(srcdir)/src \
diff --git a/tools/magic.btsnoop b/tools/magic.btsnoop
new file mode 100644
index 0000000..dfd5ecb
--- /dev/null
+++ b/tools/magic.btsnoop
@@ -0,0 +1,13 @@
+
+#------------------------------------------------------------------------------
+# BTSnoop:  file(1) magic for BTSnoop files
+#
+# 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