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: Mon, 16 May 2016 21:36:56 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-219555931-1463434616-sysbot+gh@w3.org>
There's no API for that yet, and I've mailed the security UI folks to 
ask their opinion on it. The benefits of the chooser are that 1) the 
user has to pay enough attention to make a choice, and 2) the user can
 override the page's idea of which device is best. If we ensure that 
exactly one device appears in the chooser that opens as a result of an
 advertisement, then we lose both of those. On the other hand, we 
might be able to add a `hint` field to 
[`RequestDeviceOptions`](https://webbluetoothcg.github.io/web-bluetooth/#dictdef-requestdeviceoptions),
 which could ensure that the preferred device is listed first if it 
matches the other filters.

-- 
GitHub Notification of comment by jyasskin
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/pull/239#issuecomment-219555931
 using your GitHub account
Received on Monday, 16 May 2016 21:36:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 16 May 2016 21:36:59 UTC