PINE64

Full Version: [question] How does the step counter log data?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does the step counter log the number of steps in a period of time in InfiniTime or another OS. If so, does it also log time stamps for when the steps were taken? If not, would it be possible to stream the step counter data to one of the companion apps and log it using the app?

Thanks
I think InfiniTime is currently using the accelerometer's built in step count reporting, updating a total number of steps and a resettable 'trip counter' which probably isn't quite what you're after. There is an open issue for Bluetooth PAMP/PAMS (Physical Activity Monitoring Profile / Service) support which would allow an external device that supports the standard (phone app etc.) to log in more detail. That may address your needs but I don't see any activity yet on adding it.

https://github.com/InfiniTimeOrg/InfiniT...Bma421.cpp
https://github.com/InfiniTimeOrg/InfiniT...nts/motion
https://github.com/InfiniTimeOrg/InfiniTime/issues/214
https://www.bluetooth.com/specifications/specs/