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

How to get raw PPG data? #2112

Closed
1 task done
marcinkosztolowicz opened this issue Aug 28, 2024 · 2 comments
Closed
1 task done

How to get raw PPG data? #2112

marcinkosztolowicz opened this issue Aug 28, 2024 · 2 comments

Comments

@marcinkosztolowicz
Copy link

Verification

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

Introduce the issue

Hello,

I would like to ask if there's a way to retrieve raw PPG (Photoplethysmography) data from a Pinetime watch running the InfiniTime firmware. I am aware that it's possible to access such data using the wasp-os system, but I'm specifically interested in doing this with InfiniTime.

Is there any existing method, API, or workaround that allows for accessing the raw PPG data? If not, are there any plans to implement this feature in the future?

Thank you in advance for your help!

Preferred solution

Myabe some applicatoin that saves data heartrate data to file system.

Version

v1.14.0

@mark9064
Copy link
Member

The Hrs3300::ReadHrs() method returns the current PPG reading. It probably makes more sense to edit the HeartRateTask though as that takes care of periodic acquisition for you
You'd have to implement a way to save it to the filesystem or make it available over BLE. Both are viable options, but BLE only makes sense for realtime transmission to a nearby device

This would be better as a discussion (https://github.com/InfiniTimeOrg/InfiniTime/discussions) rather than an issue BTW

@marcinkosztolowicz
Copy link
Author

marcinkosztolowicz commented Aug 28, 2024

link to discussion
#2113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants