W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > May 2016

Re: [web-bluetooth] Allow requestDevice for all devices

From: François Beaufort via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 May 2016 09:09:54 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-221818173-1464253794-sysbot+gh@w3.org>
I wonder what is the intent behind `requestDevice`... If the next step
 is to connect to the GATT Server afterwards, we should only show 
devices that advertised themselves as connectable.
If not, we may want to add a `connectable` filter then so that we show
 all devices, even those who are not connectable. I'd say it should be
 `true` by default though.

  filters: [{
    'listAllDevicesEvenThoughItIsAPoorUserExperience': true,
    'connectable': false
  optionalServices: ['generic_access']

GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at 
 using your GitHub account
Received on Thursday, 26 May 2016 09:10:00 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 26 May 2016 09:10:01 UTC