Marco's Blog

All content personal opinions or work.
en eo

Reading HRM Files

2003-05-24 1 min read Utilities marco

Finally got the HRM filter to run!

Well, it was pretty much just busy work, and I am sure I still missed a million things… But I finally got the software to read the HRM files I generate!

I integrated the calls into the usual workout.c file – now it checks the first two bytes – if they aren’t what it would expect for a srd file, it checks if it can find the string Version=106; if so, it reads the file as Windows HRM. Works like a charm, is transparent and immediately works for all three utilities (srdcat, srdhead and srdplot). Just wait until I have the workouts online!