Closed afedotov closed 4 months ago
This is just race condition. Write to the characteristic fails because startNotification() is not completed at that point. You need to wait until startNotification() promise is fulfilled.
startNotification()
This is just race condition. Write to the characteristic fails because
startNotification()
is not completed at that point. You need to wait untilstartNotification()
promise is fulfilled.