- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Mon, 25 Mar 2019 18:25:28 +0000
- To: public-web-bluetooth-log@w3.org
`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