Re: [web-bluetooth] Allow filtering by device name and name prefix in requestDevice().

>
>
> Advertisements send a prefix of the device name, so we can be more
> sure a device doesn't match a prefix than a substring.


That's pretty compelling. Connecting to devices to improve filtering 
goes
against our privacy model in the UI.


> Yeah; maybe we should back off of insisting that folks filter? If 
they
> want to produce a bad experience by letting users pick devices they
> can't use, let them?


I'm close to saying we should go for this idea. If we can think of 
how, it
would be good to make it API obvious that this isn't desirable.. 
meaning
you should have to write something more or as much of a filter in 
order to
do a wildcard filter.
requestDevice({ filters: [{
ok_I_know_I_should_have_one_but_for_my_device_use_case_there_just_isn't_one:
true }]


-- 
GitHub Notif of comment by scheib
See 
https://github.com/WebBluetoothCG/web-bluetooth/pull/174#issuecomment-152644117

Received on Friday, 30 October 2015 20:29:56 UTC