B1: autoreset after a few minutes, how to debug #5565
Replies: 1 comment
-
Posted at 2023-01-13 by @gfwilliams Hi, I'm not really sure to be honest. Having the code would really help. But maybe you could try disabling the 'btnLoadTimeout' code you added? It seems like it could be related, since the Bangle wouldn't normally do it and that code is pretty much completely related to resetting. Posted at 2023-01-13 by !evil edit: OMG, there is actually a critical bug in the code ( Unfortunately I can't reliably reproduce the issue. It happened thrice in a row (2 outdoors, 1 indoors), then once at BT disconnect (Android I will therefore rewrite the app to recover in case of a hard reset and look for any pattern in the data. Code:
Posted at 2023-01-13 by !evil The bug fix actually solved the reset situation. Who would have thought writing 0 out of bounds is bad xD |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2023-01-13 by !evil
Hi,
I wrote an app which communicates with an Android app and transfers data continuously. Everything works fine until the watch seems to (soft) reset for seamingly no reason. What I did so far:
Bluetooth.write
unless requested)Terminal.println
and buzz when exceeding ~2/3btnLoadTimeout
to 0) and implemented a 3s count down with buzz when holding a button to reenable the home buttonBecause it takes a couple of minutes to appear and the timespan varies a lot (observed 7m and 12m from sent data), I didn't "see" what happens on screen so far.
I would appreciate any information on what I should "log", on JS or C level, to get a grip on this.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions