Example #1
0
 ///////////////////////////////////////////////////////////////////////
 // Set position_lat field
 // Units: semicircles
 ///////////////////////////////////////////////////////////////////////
 void SetPositionLat(FIT_SINT32 positionLat)
 {
    SetFieldSINT32Value(1, positionLat, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Example #2
0
 ///////////////////////////////////////////////////////////////////////
 // Set position_long field
 // Units: semicircles
 ///////////////////////////////////////////////////////////////////////
 void SetPositionLong(FIT_SINT32 positionLong)
 {
    SetFieldSINT32Value(2, positionLong, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Example #3
0
 ///////////////////////////////////////////////////////////////////////
 // Set end_position_long field
 // Units: semicircles
 ///////////////////////////////////////////////////////////////////////
 void SetEndPositionLong(FIT_SINT32 endPositionLong)
 {
     SetFieldSINT32Value(6, endPositionLong);
 }
Example #4
0
 ///////////////////////////////////////////////////////////////////////
 // Set end_position_lat field
 // Units: semicircles
 ///////////////////////////////////////////////////////////////////////
 void SetEndPositionLat(FIT_SINT32 endPositionLat)
 {
     SetFieldSINT32Value(5, endPositionLat);
 }
Example #5
0
 ///////////////////////////////////////////////////////////////////////
 // Set start_position_long field
 // Units: semicircles
 ///////////////////////////////////////////////////////////////////////
 void SetStartPositionLong(FIT_SINT32 startPositionLong)
 {
     SetFieldSINT32Value(4, startPositionLong);
 }
Example #6
0
 ///////////////////////////////////////////////////////////////////////
 // Set start_position_lat field
 // Units: semicircles
 ///////////////////////////////////////////////////////////////////////
 void SetStartPositionLat(FIT_SINT32 startPositionLat)
 {
     SetFieldSINT32Value(3, startPositionLat);
 }
 ///////////////////////////////////////////////////////////////////////
 // Set time field
 // Units: s
 ///////////////////////////////////////////////////////////////////////
 void SetTime(FIT_SINT32 time)
 {
     SetFieldSINT32Value(1, time, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }