Re: [web-bluetooth] optionalServices is not very clear

That's mostly correct, except the [requestDevice() algorithm 
says](https://webbluetoothcg.github.io/web-bluetooth/#device-discovery)

> 8) Add _device_ to the origin's allowed devices map. with the union 
of the service UUIDs from _`filters`_ and `options.optionalServices` 
as _allowed services_.

so with `requestDevice([{services: [X, Y]}, {services: [A, B]}])` the 
site will still have access to B on the {X,Y,B} device. I could 
imagine this mattering if a fitness site wants to add either step 
trackers or heart rate monitors, but would be happy to use both on a 
device supporting both.

-- 
GitHub Notif of comment by jyasskin
See 
https://github.com/WebBluetoothCG/web-bluetooth/issues/82#issuecomment-85115780

Received on Monday, 23 March 2015 17:32:46 UTC