Sup Sport not saved in fit file

Former Member
Former Member
I have a sample connect iq app for my vivoactive hr. It only records an defined activity for sport cycling and sub_sport road for testing purpose.
Therefore it creates the session constantly with:
session = Record.createSession({:name=>"Road", :sport=>Record.SPORT_CYCLING, :subsport=>Record.SUB_SPORT_ROAD});
session.start();

I can start the activity and stop it by tapping on the screen. The fit file is saved under the estimated folder GARMIN/ACTIVITY.
But when I convert the fit file to look for the sub_sport with fit sdk FitCSVTool the sub_sport is set to zero instead of 7 (Road) while the sport is set correct to 2 (cycling).

What is wrong there?

Thx
Frank