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

Re: [web-bluetooth] Specify a Bluetooth Scanning API.

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 May 2016 17:34:04 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-219109068-1463160843-sysbot+gh@w3.org>
@beaufortfrancois At the moment, `requestLEScan` gets you a bunch of 
`BluetoothDevice` objects, but all of their `.gatt` fields are `null` 
(unless you already had permission to communicate with them), so you 
have to use `requestDevice` to communicate. I think it's worthwhile to
 give folks a way to upgrade, but we need to ask the security UI folks
 what it should look like, and it'll probably be designed to push 
people toward just using `requestDevice()` if they don't really need 
to control the scan.

-- 
GitHub Notification of comment by jyasskin
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/pull/239#issuecomment-219109068
 using your GitHub account
Received on Friday, 13 May 2016 17:34:05 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 May 2016 17:34:06 UTC