Re: Add name and namePrefix filter to SetDiscoveryFilter

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

 



You're right.
As discussed on a separate thread with Jakub, instead of two filters
we might want to add one unique filter "nameRegexp" that would take a
regular expression to filter against bluetooth device names.
What do you think?

On Mon, Nov 30, 2015 at 9:40 AM Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
>
> Hi François,
>
> On Tue, Nov 24, 2015 at 2:09 PM, François Beaufort
> <beaufort.francois@xxxxxxxxx> wrote:
> > The SetDiscoveryFilter method already has UUIDs, RSSI, Pathloss and
> > Transport filters.
> > I was wondering if it would be possible to add "name" and "namePrefix"
> > filters to this list?
> >
> > I'm shamelessly asking this because the Web Bluetooth API has added
> > these filters: http://webbluetoothcg.github.io/web-bluetooth/#dictdef-bluetoothscanfilter
>
> I guess we can extend with more filters but Im afraid having 2 filters
> like that can be confusing, what if name and prefix are set? Shall it
> can an error? What should be the logic AND or OR operation? I guess
> like with the other we need a merge strategy if multiple clients set a
> filter with different names.
>
>
>
> --
> Luiz Augusto von Dentz
--
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