Re: [web-bluetooth] startNotifications sometimes doesn't bind (#429)

`characteristic.value` will only be populated when the `oncharacteristicchanged` event is fired and when the Promise returned by `readValue()` is resolved. In your code are you waiting for one of these events before checking the value? Just waiting for the Promise returned by `startNotifications()` to resolve is not enough to guarantee that a value is available yet.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/429#issuecomment-476321867 using your GitHub account

Received on Monday, 25 March 2019 18:25:30 UTC