Re: [PATCH 2/4] monitor: add device filter support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

* Marcel Holtmann <marcel@xxxxxxxxxxxx> [2012-05-13 19:58:46 -0700]:

> Hi Gustavo,
> 
> > -i hciX option will show only data from the specified device
> > ---
> >  monitor/main.c   |   12 ++++++++++--
> >  monitor/packet.c |   10 +++++++++-
> >  monitor/packet.h |    2 +-
> >  3 files changed, 20 insertions(+), 4 deletions(-)
> 
> so what is this option actually good for? I think it is the wrong
> approach for dealing with this.

I only want to see the output for one device. We one my test use case is two
devices in the machine communicating with each other.

> 
> We better have some generic filtering mechanism, then trying to just
> duplicate options from hcidump into btmon.
> 
> btmon is different in the fact that it is actually able to record all
> packets from all devices. You also do not wanna filter based on index
> number. You wanna filter based on BD_ADDR and BR/EDR vs AMP.

Filter based on BD_ADDR would work too, but is more painful to the user
however.

	Gustavo
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux