/////////////////////////////////////////////////////////////////////// // Set languages field // Comment: Use language_bits_x types where x is index of array. /////////////////////////////////////////////////////////////////////// void SetLanguages(FIT_UINT8 index, FIT_UINT8Z languages) { SetFieldUINT8ZValue(0, languages, index, FIT_SUBFIELD_INDEX_MAIN_FIELD); }
/////////////////////////////////////////////////////////////////////// // Set sports field // Comment: Use sport_bits_x types where x is index of array. /////////////////////////////////////////////////////////////////////// void SetSports(FIT_UINT8 index, FIT_SPORT_BITS_0 sports) { SetFieldUINT8ZValue(1, sports, index, FIT_SUBFIELD_INDEX_MAIN_FIELD); }
/////////////////////////////////////////////////////////////////////// // Set sdm_ant_id_trans_type field /////////////////////////////////////////////////////////////////////// void SetSdmAntIdTransType(FIT_UINT8Z sdmAntIdTransType) { SetFieldUINT8ZValue(5, sdmAntIdTransType, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD); }
/////////////////////////////////////////////////////////////////////// // Set transmission_type field /////////////////////////////////////////////////////////////////////// void SetTransmissionType(FIT_UINT8Z transmissionType) { SetFieldUINT8ZValue(3, transmissionType, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD); }
/////////////////////////////////////////////////////////////////////// // Set device_type field /////////////////////////////////////////////////////////////////////// void SetDeviceType(FIT_UINT8Z deviceType) { SetFieldUINT8ZValue(1, deviceType, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD); }
/////////////////////////////////////////////////////////////////////// // Set flags field /////////////////////////////////////////////////////////////////////// void SetFlags(FIT_FILE_FLAGS flags) { SetFieldUINT8ZValue(1, flags, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD); }
/////////////////////////////////////////////////////////////////////// // Set ant_transmission_type field /////////////////////////////////////////////////////////////////////// void SetAntTransmissionType(FIT_UINT8Z antTransmissionType) { SetFieldUINT8ZValue(20, antTransmissionType, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD); }