-
Notifications
You must be signed in to change notification settings - Fork 52
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
Java PC code and streaming packet spec inconsistency? #23
Comments
hello, I am also trying the same to get data from the healthy pi using python. I am kinda new to this, so I was thinking if you could help me with the code or we could work on it together. I have gone through the firmware-update.md and advanced-healthypi.md but could not find a solution yet. Looking forward for the reply. Thanks |
I am looking for the same information. I have somewhat of a plan for what I might do to get the data, but from what is currently in the documentation it is not 100% clear. If anybody has some insight or has done this already, I would appreciate any recommendations Thanks |
Hello Austin,
I am Adnan and I was wonderinf if you could help me as you have some idea
of how to extract the data from healthy Pi v3. Looking forward to hearing
from you.
Thank you
Adnan
…On Fri, 30 Aug 2019 at 07:37, Austin Monson ***@***.***> wrote:
I am looking for the same information. I have somewhat of a plan for what
I might do to get the data, but from what is currently in the documentation
it is not 100% clear.
If anybody has some insight or has done this already, I would appreciate
any recommendations
Thanks
Austin
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23?email_source=notifications&email_token=AM6RM4VTS3A6V7TBYU2Z56DQHEH7RA5CNFSM4ILQ7LMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5RQ27Q#issuecomment-526585214>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AM6RM4TTM7TKR4XEBPZUVODQHEH7RANCNFSM4ILQ7LMA>
.
|
Tim, the Hearty Patch is another hardware (https://www.crowdsupply.com/protocentral/heartypatch) |
I am trying to write my own code to read values from a healthyPi board (using a PC and the arduino driver)
I am interested in only the respiration rate.
When I look at the spec for the streaming packet format I see that it is offset 19 (see http://healthypi.protocentral.com/#streaming-packet-format)
When I look at the java code for the PC, it appears that the code does not follow protoxcol version 2. I note that there is a protocol version 3 here: https://github.com/Protocentral/protocentral_heartypatch/releases. However, the packet format is not really explained well.
See the two attached images.
Spec version 02 explicitly lists the sub parts of the packets
Spec version 3 gives (from my perspective) ambiguous information for offsets 17-20 and 18+
Specifically - how does one determine the respiration rate with protocol version 0x03?
Protocol Version 0x02 has a specific value for it - but I can't find it in the spec for 3
Can someone explain to me which versions/where to get the latest and what the spec is for the protocol?
Alternatively, is there simple sample code to just pull the raw data from the packets (there is a page that mentions a python script)
Thanks
Tim
The text was updated successfully, but these errors were encountered: