- 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
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.
```js
navigator.bluetooth.requestDevice({
filters: [{
'listAllDevicesEvenThoughItIsAPoorUserExperience': true,
'connectable': false
}],
optionalServices: ['generic_access']
})
--
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at
https://github.com/WebBluetoothCG/web-bluetooth/issues/234#issuecomment-221818173
using your GitHub account
Received on Thursday, 26 May 2016 09:10:00 UTC