I have success with the Namste sample App project. I can write successfully to the FIT file and in Garmin Connect I can see the graphs and the summary data below in the Stats section.
When I try and do the same thing from my complex datafield I can get the graphs to work, But the final summary results to not appear in the Stats section of Garmin Connect.
Looking inside my FIT file I cannot see any sign of the data that should be written from the
So this first line works correctly and creates a graph:
gps_acc_field = createField("GPS_Acc",0, FitContributor.DATA_TYPE_FLOAT,{:mesgType=>Fit.MESG_TYPE_RECORD, :units=>"B"});
But this line does nothing
twosecfield= createField("twosec" ,1, FitContributor.DATA_TYPE_FLOAT,{:mesgType=>Fit.MESG_TYPE_SESSION, :units=>"kts"});
Thanks