Not sure if it's a Garmin Connect bug or I am doing something wrong:
In my DF I create my fields in pairs: one for lap, one for session, with the same name:
name = "avg_" + heart_rate; mLapAverageHRField = dataField.createField(name, AVG_LAP_HR_FIELD_ID, uint8, lap_bpm_options); mSessionAverageHRField = dataField.createField(name, AVG_HR_FIELD_ID, uint8, session_bpm_options);
note they both have the same name.
Then I call setData on them according to the common logic.
I can see the session data in the stats tab in Garmin Connect (pic1)
I can see the lap data in the laps tab (pic2)
But the last raw (total) doesn't display anything in the laps tab (pic2). I thought that because I use the same name for the field it would be understood by Garmin and the session field's value displayed in the total raw.