Before getting libpruio running, I am curious to see if I can process ECG to get HRV on the Black itself. I started with [ physionet’s HRV howto ], which included setting up [ wfdb software package ] on the Black. Working as root helped skip all the permission denied problems:
To get wfdb, I started with
apt-get install gcc libcurl4-openssl-dev libexpat1-dev
Running apt-get update helped.
The next was to wget the tarball and begin installation. Funnily enough, I had to apt-get make as well…
I had to remove the ‘s’ from https to skip this alert:
(Yes, I also need to setup NTP time updates on the Black…)
Next step was to run configure, make install and make check. That worked, except for some time sync problems (again, NTP)
Then, to follow along with the HRV files, I decided to send over some ECG data (collected on MSP432 with multitasking!) over to the Black. As I am on Windows, [ PSFTP ] is a good option.
I opened a connection to the board, and tried to write the files over, but it turned out that I didn’t have write permissions…
And I didn’t have permissions to change these permissions. Thanks to [ dragonfly41] ‘s post, I used PuTTy again to change permissions for that folder.
Then sending the files over worked.
Now to proceed with the HRV analysis!