InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Step notifications not working

Open MB512 opened this issue 10 months ago • 1 comments

Verification

  • [x] 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 avatar Mar 14 '25 06:03 MB512

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.

FOSSLover84 avatar Mar 16 '25 14:03 FOSSLover84