-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
jkbms_ble: 32s-Support and connection workaround for bt-fail #466
Conversation
baranator
commented
Feb 16, 2023
- Support for newer jkbms that send frames with up to 32 cell infos.
- Also a workaround for the bug that causes the bluetooth-connection to fail after 15 hours and 22 mins
…st is executed, further work required
…o that the bt-connection can be tested
… if no bt-device is available during test_connection
@@ -11,7 +11,7 @@ | |||
|
|||
# zero means parse all incoming data (every second) | |||
CELL_INFO_REFRESH_S = 0 | |||
DEVICE_INFO_REFRESH_S = 60 * 60 * 5 # every 5 Hours | |||
DEVICE_INFO_REFRESH_S = 60 * 60 * 10 # every 10 Hours |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why you chose 10 hours and not 12 hours?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tbh: That line can be removed completely as it not used anymore - device-info only contains non-changing data that do not need to be updated after connect.
That change comes from back then, when we tried to figure out where that crashes come from...