[web-bluetooth] startNotifications should always write descriptor if device is not bonded

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

== startNotifications should always write descriptor if device is not 
bonded ==
If devices are not bonded, notifications won't be remembered after a 
disconnection.

Therefore, instead of giving the responsibility the check whether 
devices are bonded or not to the UA, I suggest `startNotifications()` 
should always write descriptor no matter what.

Same applies to `stopNotifications()` of course.

WDYT?

Background: 
https://bugs.chromium.org/p/chromium/issues/detail?id=589796#c9

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

Received on Tuesday, 1 March 2016 11:35:52 UTC