- From: Julien Racle via GitHub <sysbot+gh@w3.org>
- Date: Tue, 26 Jul 2016 14:31:19 +0000
- To: public-web-bluetooth-log@w3.org
jracle has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth: == Add a "connectable" field to BluetoothDevice == As @beaufortfrancois suggests (following @Vudentz remark) in pull-request #239 , it would be valuable to add a `boolean connectable` member to `BluetoothDevice`. Instances of `BluetoothDevice` return by a _regular_ `requestLEScan` (the one without explicitly filtering out connectable devices) have no hint whether or not we can connect to their GATT server. Once we get device from `requestDevice`, such a `BluetoothDevice` instance would also hold same `boolean connectable` member. Subsequent call to `.gatt.connect()` would fail if `connectable` is `false`. Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/253 using your GitHub account
Received on Tuesday, 26 July 2016 14:31:28 UTC