-
-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
I used your Cordova plugin to talk to a AnD BLE scale with success.
Now porting the app over to NativeScript and using this plugin.
Ran into a problem on Android using writeWithoutResponse(). The old plugin waited for onCharacteristicWrite() to be called before calling the success callback. This plugin returns immediately.
Now when starting another BLE call after writeWithoutResponse() returns it fails.
I changed writeWithoutResponse() to use the same logic as write(), setting the onWritePromise, and it all works perfectly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels