DOKK / manpages / debian 10 / bluez-hcidump / hcidump.1.en
HCIDUMP(1) Linux System Administration HCIDUMP(1)

hcidump - Parse HCI data

hcidump [-h]
hcidump [option [option...]] [filter]

hcidump reads raw HCI data coming from and going to a Bluetooth device (which can be specified with the option -i, default is the first available one) and prints to screen commands, events and data in a human-readable form. Optionally, the dump can be written to a file rather than parsed, and the dump file can be parsed in a subsequent moment.

Prints usage info and exits
Data is read from hciX, which must be the name of an installed Bluetooth device. If not specified, and if -r option is not set, data is read from the first available Bluetooth device.
Sets max length of processed packets to len.
Sets default Protocol Service Multiplexer to psm.
Sets default company id for manufacturer to compid.
Parse output is not printed to screen, instead data read from device is saved in file file. The saved dump file can be subsequently parsed with option -r.
Data is not read from a Bluetooth device, but from file file. file is created with option -t, --timestamp Prepend a time stamp to every packet.
For every packet, not only is the packet type displayed, but also all data in ASCII.
For every packet, not only is the packet type displayed, but also all data in hex.
For every packet, not only is the packet type displayed, but also all data in hex and ASCII.
For every packet, only the raw data is displayed.
Sets the PSM value for the CAPI Message Transport Protocol.
Sets the PSM value for the Hardcopy Control Channel.
Sets the RFCOMM channel value for the Object Exchange Protocol.
Sets the RFCOMM channel value for the Point-to-Point Protocol.
Extract PPP traffic with pppdump format.
Extract SCO audio data.
Don't display any vendor commands or events and don't show any pin code or link key in plain text.

filter is a space-separated list of packet categories: available categories are lmp, hci, sco, l2cap, rfcomm, sdp, bnep, cmtp, hidp, hcrp, avdtp, avctp, obex, capi and ppp. If filters are used, only packets belonging to the specified categories are dumped. By default, all packets are dumped.

Written by Maxim Krasnyansky <maxk@qualcomm.com> and Marcel Holtmann <marcel@holtmann.org>

man page by Fabrizio Gennari <fabrizio.gennari@philips.com>

Nov 12 2002 BlueZ