You are here: Forum Home → ANT Developers Forums → ANT+ FIT Forum Has Moved → Thread
// --------------- FileIdMesg ------------------
fit::FileIdMesg fileIdMesg;
fileIdMesg.SetSerialNumber(12345);
fileIdMesg.SetTimeCreated(secStartedWorkout);
fileIdMesg.SetManufacturer(FIT_MANUFACTURER_GARMIN);
fileIdMesg.SetProduct(1561);
fileIdMesg.SetType(FIT_FILE_ACTIVITY);
encode.Write(fileIdMesg);
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com
// --------------- FileIdMesg ------------------
fit::FileIdMesg fileIdMesg;
fileIdMesg.SetTimeCreated(secStartedWorkout);
fileIdMesg.SetManufacturer(FIT_MANUFACTURER_DEVELOPMENT);
fileIdMesg.SetType(FIT_FILE_ACTIVITY);
encode.Write(fileIdMesg);
fit::FileCreatorMesg fileCreatorMesg;
fileCreatorMesg.SetSoftwareVersion(201); //2.01
encode.Write(fileCreatorMesg);
// deviceInfo - needed for Garmin Connect upload...
fit::DeviceInfoMesg deviceInfo;
deviceInfo.SetTimestamp(secStartedWorkout);
deviceInfo.SetManufacturer(FIT_MANUFACTURER_DEVELOPMENT);
encode.Write(deviceInfo);;
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com