Skip to contentSkip to conversation

How to snoop traffic

DISCUSSION Pete Zaitcev 2 participants 4 messages Dec 28, 2009 – Dec 29, 2009 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Dear All:

What is the preferred method to snoop the Bluetooth traffic? E.g. my phone seems to pair with my computer fine, but then it stops communicating, what now? I would like to debug the issue myself from the bottom up.

Thanks,
-- Pete

maintainer
#1 lore raw

Hi Pete,

Quoted 4 lines

What is the preferred method to snoop the Bluetooth traffic? E.g. my phone seems to pair with my computer fine, but then it stops communicating, what now? I would like to debug the issue myself from the bottom up.

just use hcidump -X -V. It will trace and decode the Bluetooth HCI traffic for you.

Regards

Marcel

#2 lore raw
Quoted 4 lines · On Mon, 28 Dec 2009 15:33:42 -0800 Marcel Holtmann <[email protected]> wrote:
Quoted 1 line

What is the preferred method to snoop the Bluetooth traffic?

just use hcidump -X -V. It will trace and decode the Bluetooth HCI traffic for you.

Thanks a lot. As it turned out, my distribution (Fedora) packaged it into a nondefault package (bluez-hcidump), so I missed it, sorry. I thought we might've moved to a libpcap-based capture while I wasn't looking, but fortunately not.

-- Pete

maintainer
#3 lore raw

Hi Pete,

Quoted 9 lines
Quoted 4 lines
Quoted 1 line

What is the preferred method to snoop the Bluetooth traffic?

just use hcidump -X -V. It will trace and decode the Bluetooth HCI traffic for you.

Thanks a lot. As it turned out, my distribution (Fedora) packaged it into a nondefault package (bluez-hcidump), so I missed it, sorry. I thought we might've moved to a libpcap-based capture while I wasn't looking, but fortunately not.

actually PCAP is not possible since we can't store packet direction in PCAP format and that is needed for HCI traffic.

Regards

Marcel