[web-bluetooth] Let websites scan for nearby advertisements.

jyasskin has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Let websites scan for nearby advertisements. ==
Websites should be able to register for an event when new BLE 
advertising data is received, even if they don't have permission to 
send information to that device. This reveals the user's location, so 
we'll need a permission grant, and we may want to let users set bounds
 on the area or time in which the grant applies. We need to figure out
 if a site with full geolocation access should automatically get 
access to scan for beacons.

We also need to figure out whether it's useful to constrain scanning 
to tabs, or whether we need to figure out ServiceWorker access from 
the start. From the use case of walking around a museum listening to 
the sound corresponding to the closest exhibit, I'm inclined to think 
we have to figure out full background access from the start.

Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/191 using your 
GitHub account

Received on Wednesday, 9 December 2015 18:04:41 UTC