Hello,
I begin with the FIT SDK, and my need is just to use the FitToCsv tool.
No problem converting the Location Fit file got from my watch (Lctns.fit), but it is impossible do to the reverse !
Below a very simple example converting the same file fit -> css -> fit :
➜ demo ll total 8 -rwxr-----@ 1 mickael staff 2,5K 18 sep 09:36 Lctns.fit ➜ demo java -jar ../FitSDKRelease_21.141.00/java/FitCSVTool.jar ./Lctns.fit FIT CSV Tool - Protocol 2.0 Profile 21.141 Release Decoding FIT binary file ./Lctns.fit to ./Lctns*.csv files. ➜ demo ll total 24 -rw-r--r-- 1 mickael staff 6,2K 18 sep 09:37 Lctns.csv -rwxr-----@ 1 mickael staff 2,5K 18 sep 09:36 Lctns.fit ➜ demo java -jar ../FitSDKRelease_21.141.00/java/FitCSVTool.jar -c Lctns.csv ./LctnsNew.fit FIT CSV Tool - Protocol 2.0 Profile 21.141 Release Encoding Lctns.csv into FIT binary file ./LctnsNew.fit. Ignored 4 unknown field(s) and 47 unknown message(s) during encoding. ➜ demo ll total 32 -rw-r--r-- 1 mickael staff 6,2K 18 sep 09:37 Lctns.csv -rwxr-----@ 1 mickael staff 2,5K 18 sep 09:36 Lctns.fit -rw-r--r-- 1 mickael staff 72B 18 sep 09:37 LctnsNew.fit
As you can see, the LctnsNew.fit file is only 72B (instead of 2,5KB) and contains almost nothing ..
Do you have any idea of the issue ?
Thanks