Goal:
To be able to manually set the elevation or incline of an activity (treadmill run).
Initial thoughts were to have a editable data field of "incline" and then the activity uses that to calculate total elevation during the activity.
If "editable" is not possible, I'd use a fixed value (my treadmill goes to 25%) and use basic math to calculate total activity elevation.
Why?
When running on a treadmill I currently have no way to have the activity to record elevation gain.
I can edit the subsequent activity in Garmin Connect but this edited data doesn't flow back to the watch (Fenix 7) and therefore the Hill Score etc data isn't updated on the watch.
I manually manipulated an activities .fit file to add in the elevation but turns out it's impossible (afaik) to write a file back to the "Activity" folder on the watch's internal storage.
How?
I figure it must be possible as apps like Runn receive incline data from an Ant device and display that on the watch and use the data to populate total elevation in the activity file.
So my plan was to manipulate the same data just with either on screen incline entry or hardcoded figures, instead of getting it from the Ant accessory.
But
https://developer.garmin.com/connect-iq/api-docs/
I can't find any reference at all to the data fields I would want to manipulate, either elevation, ascent or incline.
Can anyone point me in the right direction?
Thanks!
Rob