-
Notifications
You must be signed in to change notification settings - Fork 173
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
Issues while waking up from background with 1.47 and logging is ON #38
Comments
there are no changes in logging/resume behavior from 1.46 to 1.47 |
My phone is Android 7 exclusively used for logging data (via BT). No sim card inside. |
I cleaned up, restarted couple of times the phone (the Honor Android 7), removed and reinstalled the v1.47 SBT and started to log.
With previous versions (using your SBT for pretty long time) I had not seen such a behavior. PS: I've been using "unlimited" buffer size.. |
Hi, I tried with S6 for 8 hours and I it seems it worked fine (except the weird font). I tried again with Honor (I set all apps except SBT to be stopped while the phone is with display off), it ran for 24hours. My current understanding is the latest version has got some changes with the BT handling during the resuming, the phone during the resuming thinks the connection is lost but it is not, internally it works ok and receives the data during the "sleep" and "resume" (I call here the "sleep" when the display is off, I have to tap the display such it resumes). Would be great if I could try with the previous version again.. |
you can get previous versions e.g. here |
I am going to try with 1.42 upwards, I will report.. |
I've tried with Honor and v1.37, 1.42, 1.47 and while logging is ON with buffer size set to "Unlimited" I saw the above issue with long wake up from background/sleep etc. With buffer set to 10kB it wakes up almost immediately during logging. Perhaps I have been mistaken by the "Buffer size" setting, thinking for larger data volumes logged it requires a larger buffer to be safe. The usage as the "terminal only" (with logging OFF) perhaps requires the larger buffers (where it stores the last XXX kB of data which may be saved by the user then), but when in the "logging mode ON" the large or unlimited buffer size causes issues as described above, and the buffering is not required, imho, as the data are saved continuously. At least this is my understanding how the stuff works today. Thus the issue comes from handling the larger amount of data in the buffer (when the buffer size is set to "unlimited" or to a larger size - I've tried with 10k only) and while logging is ON. |
Larger buffer only affects on screen scrollable history. The buffer is not required for logging. The performance impact of screen redraw is known and already optimized. As mitigation the buffer size is relatively small by default. |
With 1.47 while logging is on and when the phone is waken up, the app shows following anomaly:
I haven't seen such weird behavior with the previous version, when the phone got awake I saw data coming into the terminal immediately.
The text was updated successfully, but these errors were encountered: