How to snoop traffic
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
Marcel Holtmann
maintainerHi 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
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
Marcel Holtmann
maintainerHi 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