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

So based on your snippets above the behavior you are observing is expected.

In `_startNotifications()` you log the value of `characteristic` but at this point you aren't guaranteed to have received a value for this characteristic yet and so `characteristic.value` may or may not be `null`. If you log `event.target` in your event listener you should always see `value` populated with a valid `DataView`.

Can you confirm that this is what you observe?

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

Received on Monday, 25 March 2019 21:50:56 UTC