- From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Jul 2016 23:29:38 +0000
- To: public-web-bluetooth-log@w3.org
> 4) @jyasskin I don't see mention missing .gatt object on the returned device. Is there any thing else missing? I hope "id" is available, so the user's code can maintain a map of value. Only [`.gatt` is newly optional on `BluetoothDevice`](https://rawgit.com/jyasskin/web-bluetooth-1/scanning/index.html#bluetoothdevice). `.id` is still available and should be stable until the user clears their cookies or revokes permission. The wording about "[`"bluetooth"`'s extra permission data](https://rawgit.com/jyasskin/web-bluetooth-1/scanning/scanning.html#advertising-events)" covers this while giving UAs enough freedom to reset IDs at the right time. > Can't we still expose .gatt object on returned devices and allow the code to initiate a connect request, requiring a user to answer a prompt? Yes, I plan to add a way to get a `BluetoothRemoteGATTServer` from a scanned device in a future revision. I think we have agreement on what that interface should be, but I'd like to do it in a dedicated PR to make sure we get the right attention. -- GitHub Notification of comment by jyasskin Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/pull/239#issuecomment-235752559 using your GitHub account
Received on Wednesday, 27 July 2016 23:29:46 UTC