M7350/external/bluetooth/bluez/tools/magic.btsnoop
2024-09-09 08:57:42 +00:00

22 lines
632 B
Plaintext

#------------------------------------------------------------------------------
# BTSnoop: file(1) magic for BTSnoop files
#
# From <marcel@holtmann.org>
0 string btsnoop\0 BTSnoop
>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