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
Data in memory is lost when bluetooth connection is interrupted #2112
Comments
Which firmware version is on the Bangle? You say up to date - does that mean 2v10.248, or is it still the KickStarter firmware 2v10.219? There was an issue where sometimes file writes would fail, and I think that is what you're hitting here. It's not related to the connection, it's just this issue that is already reported: espruino/BangleApps#961
This is expected. It always used to display previously received notifications and then someone filed a bug complaining that this was the case and saying that it should delete them - so now it does. Can't keep everyone happy :( |
2v10.248. Not sure why I didn't just write that in the initial report.
Whoever suggested that was absolutely wrong. It should always be made as difficult as possible to delete data by accident, but if you walk just far enough away from your phone for the connection to drop and then come back it will be a surprise when the messages are gone. Heck, my phone loses (and restores) the connection 4 or 5 times a day while it's in my pocket, hence my investigation and report, especially #2113
Config options. |
Yes, this happens every time you switch apps. So I guess after the step count resets it'd be good to see what's in the pedometer settings file. It might give a hint what's going on
That'd be good, thanks! It's in |
Since the step counter issue is actually unrelated to the bluetooth connection and already logged elsewhere, and the notification is by design, I'm going to close this. |
Summary
When the bluetooth connection is interrupted, step count and messages are lost.
Environment
Bangle.JS 2; Up-to-date as of December 14th.
Android phone running Gadgetbridge.
Steps to reproduce
Expected behaviour
Step counter continues to display the previous step count, plus 1 (or more, as more steps may have actually been taken).
Messages app displays previously received notifications.
Actual behaviour
Step counter resets with next step, displays 1 (or so, depending on number of steps taken).
Messages app says "No Messages".
Frequency
The notifications are lost the instant the bluetooth is disconnected 100% of the time. The steps are less consistent, only sometimes (though frequently, about 3/4 of the time) lost when the bluetooth is disconnected.
Additional notes
I suspect more data is lost than just the step count and notification list, but I don't have any other references to demonstrate the problem.
If the Messages app is open when bluetooth is disconnected, attempting to scroll the messages will produce graphical issues, and selecting a message will not do anything. "Back" still works to close the app. Reopening the app presents the "No messages" message.
The text was updated successfully, but these errors were encountered: