Hi,
I'm creating fit (cycling) workout files using the java FIT-SDK (v21.40.00). I'm succeeding in creating a workout with relative power targets. For each interval I create a WorkoutStepMesg with target type WktStepTarget.POWER, and a customTargetValueLow and customTargetValueLow in the range between 0..1000 to get a relative power value.
I'm trying to do the same for heart rate. According to https://developer.garmin.com/fit/file-types/workout/ I should be able to achieve this by setting target type to WktStepTarget.HEART_RATE and then setting customTargetValueLow and customTargetValueLow to a percentage of max heart rate.
I've done this, but then, in both a Garmin Edge 520 and a Wahoo Elemnt Bolt, the heart rate values are not shown. I am able to create files for absolute heart rate values, by using 100 + HR for both customTargetValueLow and customTargetValueLow.
If anybody can point out what I'm doing wrong then I would highly appreciate that.
Thanks!
Ilja