There is a Software Development Kit (SDK) for FIT that you can have a look at since you are using Garmin Forerunner 310XT (310XT uses the FIT format to store its data). The FIT SDK is located in the Download Zone of the ANT website. Also, you can refer to the FIT section of the forum for specific questions on FIT: