All of lore.kernel.org
 help / color / mirror / Atom feed
* Disable 'Filter duplicates' setting for HCI 'LE Set Scan Enable'
@ 2019-03-20 11:16 Christoph Schweers
  2019-03-22 12:58 ` Christoph Schweers
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Schweers @ 2019-03-20 11:16 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

I would like to disable the 'Filter duplicates' setting at hardware level
with the HCI Command 'LE Set Scan Enable'.

First I tried to tweak the 'DuplicateData' parameter from SetDiscoveryFilter
(org.bluez.Adapter1), but this doesn't change the value of 'Filter
duplicates' parameter. btmon shows always that 'Filter duplicates' is
'Enabled'

I also searched the debugfs for a proper setting without success.

Is there any way to change this HCI parameter setting in bluez?


Thanks in advance!
Christoph

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

* Re: Disable 'Filter duplicates' setting for HCI 'LE Set Scan Enable'
  2019-03-20 11:16 Disable 'Filter duplicates' setting for HCI 'LE Set Scan Enable' Christoph Schweers
@ 2019-03-22 12:58 ` Christoph Schweers
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Schweers @ 2019-03-22 12:58 UTC (permalink / raw)
  To: linux-bluetooth

Am Mi., 20. März 2019 um 12:16 Uhr schrieb Christoph Schweers
<christoph.schweers@gmail.com>:
>
> Hello,
>
> I would like to disable the 'Filter duplicates' setting at hardware level
> with the HCI Command 'LE Set Scan Enable'.
>
> First I tried to tweak the 'DuplicateData' parameter from SetDiscoveryFilter
> (org.bluez.Adapter1), but this doesn't change the value of 'Filter
> duplicates' parameter. btmon shows always that 'Filter duplicates' is
> 'Enabled'
>
> I also searched the debugfs for a proper setting without success.
>
> Is there any way to change this HCI parameter setting in bluez?

I got further insights, a 'hcitool lescan --duplicates' does the trick

As my application uses D-Bus I tried to figure out how to archive this
behavior with 'bluetoothd', but I was not able to find any info about this
in the man pages for 'bluetoothd' and 'main.conf'

I would greatly appreciate If someone could give me a pointer on this issue.


Many thanks!
Christoph

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

end of thread, other threads:[~2019-03-22 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 11:16 Disable 'Filter duplicates' setting for HCI 'LE Set Scan Enable' Christoph Schweers
2019-03-22 12:58 ` Christoph Schweers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.