mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 00:04:29 +08:00
build: Add magic file for BTSnoop file format
This commit is contained in:
parent
505bac019a
commit
e33fe5dec2
@ -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 \
|
||||
|
13
tools/magic.btsnoop
Normal file
13
tools/magic.btsnoop
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user