-
Notifications
You must be signed in to change notification settings - Fork 110
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
miband5 activity log is not correct #57
Comments
FYI I tried the same with my miband4 device and activity log is working as you can see below my miband4 info:
paritally extract of my miband4 activity log (in this case I was not wearing the miband4) for the last hour which looks good:
|
wireshark output of my miband5 covering retrieval of the activity log When analyzing the last 17 bytes of the packet I recognize the following information:
So it looks like that a minute of activity is no longer represented by 4 bytes but by 8 bytes of which the last 4 bytes is It also seems that gadgetbridge is not properly recognizing this packet (assuming I understand the code properly) : see |
I have fixed this in my fork : see |
Here below the activity log retrieved for the last hour for my miband 5 device.
You can see it is not correctly interpreting the odd minute timestamps are totally different from the even minute timestamps.
FYI the info for my miband5:
The text was updated successfully, but these errors were encountered: