Simple program for reading personal and training session data from the
Polar FT7 Heart Rate monitor.
This is a thing very much in development, and is not elegant.
Build with 'make'
[mike@modron polar_ft7]$ ./polar_ft7 -h
Usage: ./polar_ft7 <flags>
where d causes additional diagnostics to be output
p causes personal data to be dumped
s causes sessions to be dumped
i prints out USB packets to stderr
v print version and exit
n disable wait for HRM to be placed on Flowlink
r <filename> read personal details from file AND WRITE TO FT7
w <filename> write personal details to file
[mike@modron polar_ft7]$
If you have problems try using th -d and -i switches to see what is going on.
In normal use you probably only want to use the -s switch. This causes a CSV dump of your training
sessions to terminal, so something like ...
[mike@modron polar_ft7]$ ./polar_ft7 -s
./polar_ft7: Waiting to detect a HRM on the Polar Flowlink...
Start,End,Duration,Calories,Fitness,Fat Burn,Avg HR,Max HR,Min HR,Age HR
2011-12-28 09:28:08,2011-12-28 10:59:13,1:30:59,1032,1:17:07,0:13:52,134,168,118,164
2011-12-30 09:49:38,2011-12-30 11:14:19,1:24:37,1042,1:19:20,0:05:17,140,167,118,164
2012-01-06 09:18:07,2012-01-06 10:50:07,1:31:58,1090,1:09:26,0:22:19,137,172,122,164
2012-01-09 09:30:29,2012-01-09 11:06:53,1:36:21,1029,1:03:24,0:32:52,133,175,120,170
./polar_ft7: Unexpected error during read of USB. Expected 64 bytes, but got 0
./polar_ft7: request for session 5 returned -1
./polar_ft7: Hmmm, something odd happened. I expected 76 but got only 4 sessions
[mike@modron polar_ft7]$
The above session ended abnormally, because I took the FT7 off the Flowlink :-)
If you share your FT7 with other people, you can quickly change user details with the -r/-w flags.
e.g.
Save the personal data currently in the FT7 to a file with ...
[mike@modron polar_ft7]$ ./polar_ft7 -w mydata
Load up the FT7 with a different set of personal data...
[mike@modron polar_ft7]$ ./polar_ft7 -r fred
the files are plain text, but you are advised not to edit them. They are a bit Hexy.