Thread (6 messages) 6 messages, 4 authors, 2016-09-12

Re: Option to disable filtering of duplicate LE ADV

flat view

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2016-09-10 08:27:10

Hi Brennan,

On Fri, Sep 9, 2016 at 11:00 PM, Brennan Ashton [off-list ref] wrote:
Right now in all of the le_scan functions filter_dup is set to
LE_SCAN_FILTER_DUP_ENABLE.  This is not always desired with beacons as
the content may change.  I can force this by sending the HCI commands
to enable scanning without this filter, but then the mgmt api (and
DBUS) cannot be used for scanning.

I was wondering if people had thoughts on making this configurable?
Check out the SetDiscoveryFilter:

https://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/adapter-api.txt

When that is used it will not enable duplicated filter and in fact is
the only way to discover beacons which don't have discoverable flags
sets e.g. broadcaster.


-- 
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help