Skip to content
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

Step notifications not working #2271

Open
1 task done
MB512 opened this issue Mar 14, 2025 · 1 comment · May be fixed by #2272
Open
1 task done

Step notifications not working #2271

MB512 opened this issue Mar 14, 2025 · 1 comment · May be fixed by #2272
Labels
bug Something isn't working

Comments

@MB512
Copy link

MB512 commented Mar 14, 2025

Verification

  • I searched for similar bug reports (including closed issues) and found none was relevant.

What happened?

Gadgedbridge is using notification for the step characteristic but no steps are send by InfiniTime

What should happen instead?

InfiniTime shoud send notifications on step changes

Reproduction steps

Connect InfiniTime with Gadgedbridge

More details?

Gadgedbridge's log file notes that it is using notifications for the steps-characteristic:
12:52:37.210 [Gadgetbridge GATT Dispatcher] DEBUG n.f.g.s.b.BtLEQueue - About to run action: 13. März um 12:52: NotifyAction on characteristic: 00030001-78fc-48fe-8e23-433b3a1942d0 12:52:37.211 [Gadgetbridge GATT Dispatcher] DEBUG n.f.g.s.b.a.NotifyAction - use NOTIFICATION for Characteristic 00030001-78fc-48fe-8e23-433b3a1942d0 12:52:37.212 [Gadgetbridge GATT Dispatcher] DEBUG n.f.g.s.b.a.NotifyAction - Successfully written characteristic 00030001-78fc-48fe-8e23-433b3a1942d0 descriptor

but no steps are reported. Only when turning on the display.

The steps sould be send to gadgedbridge emediently if notification is used.

Version

v1.15.0 + main

Companion app

Gadgedbridge

@MB512 MB512 added the bug Something isn't working label Mar 14, 2025
@MB512 MB512 linked a pull request Mar 14, 2025 that will close this issue
@FOSSLover84
Copy link

FOSSLover84 commented Mar 16, 2025

This is funny @MB512, I just came here to file an issue for a similar but related thing, but you already might have solved it also! Do not set any automatic display wake-up (i.e. only enable double-tapping). Then, only after first display wake-up of the day, the steps are counted. Does this change heal that as well? EDIT: OK, looking at the code, I think it will not fix my case. I'll file another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants