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

Thanks for your answer !
To sum up, in my code the notification connection is started with :
`device._startNotifications(characteristicUuid).then(handleHeartRateMeasurement)`

And the listener :
```
function handleHeartRateMeasurement(heartRateMeasurement) {
  heartRateMeasurement.addEventListener("characteristicvaluechanged", event => {
    var value = device.parseValue(event.target.value);
    // Use my value
  });
}
```

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

Received on Monday, 25 March 2019 21:43:31 UTC