linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to snoop traffic
@ 2009-12-28 23:28 Pete Zaitcev
  2009-12-28 23:33 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Pete Zaitcev @ 2009-12-28 23:28 UTC (permalink / raw)
  To: linux-bluetooth

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to snoop traffic
  2009-12-28 23:28 How to snoop traffic Pete Zaitcev
@ 2009-12-28 23:33 ` Marcel Holtmann
  2009-12-29  0:44   ` Pete Zaitcev
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2009-12-28 23:33 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: linux-bluetooth

Hi Pete,

> 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to snoop traffic
  2009-12-28 23:33 ` Marcel Holtmann
@ 2009-12-29  0:44   ` Pete Zaitcev
  2009-12-29  2:20     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Pete Zaitcev @ 2009-12-29  0:44 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-bluetooth

On Mon, 28 Dec 2009 15:33:42 -0800
Marcel Holtmann <marcel@holtmann.org> wrote:

> > 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to snoop traffic
  2009-12-29  0:44   ` Pete Zaitcev
@ 2009-12-29  2:20     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2009-12-29  2:20 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: linux-bluetooth

Hi Pete,

> > > 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-29  2:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28 23:28 How to snoop traffic Pete Zaitcev
2009-12-28 23:33 ` Marcel Holtmann
2009-12-29  0:44   ` Pete Zaitcev
2009-12-29  2:20     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).