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
Notifications are not received if bluetooth connection is lost and then restored #2113
Comments
Can confirm. Bangle.js 2 2v10.247. It's not necessary to turn Bluetooth off and on to get it working again though. It's enough to disconnect and connect in the Gadgetbridge app. |
More info on this forum post: http://forum.espruino.com/conversations/370937/ |
I was just noticing that this hadn't happened to me in about a week now and thinking maybe the upgrade to gadgetbridge 0.63.1 had fixed it. I have walked away from my phone on multiple occasions to have it disconnect and then returned to once again start receiving messages. Even left it at home while I was out shopping yesterday and within a minute of returning home I got an email which displayed on my watch. Seems I was no longer able to reproduce the problem at all. So problem solved, I thought. Today I upgraded to 2v11 (and upgraded all apps at the same time) and I'm back to being able to reproduce the problem 100%. I have to turn bluetooth off and on again (or disconnect/reconnect through gadgetbridge) in order to get messages to start flowing again. And now that steps are being properly tracked in both the watch widget and gadgetbridge phone app, I can confidently say that the communication failure is bidirectional: no steps are counted on the phone while in this connected-but-non-communicating state. So this is to say, I upgraded to 2v11 and the problem persists, but it may not actually be as 100% reproducible as I'd originally thought. |
Just a thought - but when you connected to Gadgetbridge did you choose to 'Pair' or 'Not Pair'. It's possible that the pairing info got lost upon update to 2v11 and that kicked off these issues... |
I do not remember, but it's back to working as expected and not able to reproduce the issue. |
I have not experienced this in months, at least not since upgrading to 2v12. I'm going to close this under the assumption that something tangentially related was fixed that resulted in this getting fixed as well. |
Great - thanks for updating the issue! |
Summary
When the bluetooth is unnaturally interrupted and then automatically restored, the watch stops receiving notifications.
Environment
Bangle.JS 2; Up-to-date as of December 14th.
Android phone running Gadgetbridge.
Steps to reproduce
Expected behaviour
New notification JSON appears on the debug screen.
Actual behaviour
Debug screen continues to display "waiting for message".
Frequency
100% reproducible.
Additional notes
This has to be done when the bluetooth is unnaturally disconnected and automatically reconnected. Manually turning the bluetooth off and on again does not produce this issue, and in fact doing so will serve as a workaround, restoring expected notification behaviour.
This may be related to #2112
The text was updated successfully, but these errors were encountered: