- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Mon, 25 Mar 2019 22:17:48 +0000
- To: public-web-bluetooth-log@w3.org
It is safe to add the event listener before receiving the first value. You don't even need to call `startNotifications()` first. It just won't be called until the browser receives a new characteristic value. Are you sure that the promise returned by `startNotifications()` is resolving? Adding a log statement to the beginning of `handleHeartRateMeasurement()` should answer this question. -- GitHub Notification of comment by reillyeon Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/429#issuecomment-476399021 using your GitHub account
Received on Monday, 25 March 2019 22:17:49 UTC