-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: readCharacteristic always fail #1100
Comments
Hi @tree1891, thanks for raising this issue, looking at the logs it appears that the Bluetooth device is disconnected. |
No, it is disconnected after exception occurs. It is by design.
|
Ah, I see, the logs are not ordered in chronological order, so I was reading the stack trace after the disconnection. |
It seems that |
Does the same exception get thrown if |
no problem if |
Thank you very much for confirming that, it sounds like there may be a synchronisation issue. |
This issue may be related to #1102 whereby the previous operation has not completed before the next one starts. |
It does work well. |
Thank you for confirming that change fixes this issue, we will publish some patched versions to pub.dev. |
update to 1.35.1 |
Requirements
Have you checked this problem on the example app?
No
FlutterBluePlus Version
1.35.0
Flutter Version
3.27.2
What OS?
Android
OS Version
Android 10
Bluetooth Module
Nordic
What is your problem?
readCharacteristic always fail, but not in 1.34.5.
It seems to be called before onDescriptorWrite finish.
Logs
The text was updated successfully, but these errors were encountered: