fit
fit copied to clipboard
A Go package for decoding and encoding Garmin FIT files
## Summary Activity files can contain a sport message with usable information. We should support this use case
An alternate version of https://github.com/tormoder/fit/pull/66 without moving from parallel arrays to structs.
The most-significant bit in the base type field is set on data types which are larger than 1 byte. While this bit isn't terribly important when parsing a fit file...
Decoder support is tracked by https://github.com/tormoder/fit/issues/21. Top level protocol 2 support is tracked by https://github.com/tormoder/fit/issues/20.
Can you decode messages in a loop, instead of decoding the whole file in on call? An application is a corrupted fit file, where you want to extract all record...
See https://github.com/tormoder/fit/pull/61 for some context.
When I call 'fit.Decode' method, I get the following error messages: header decoded: size: 14 | protover: 32 | profver: 2085 | dsize: 114956 | dtype: .FIT | crc: 0x773b...
Ref. golang.org/x/xerrors and https://go.googlesource.com/proposal/+/master/design/29934-error-values.md.
Think about ways of verifying decoded data against other SDKs (most likely Java). Implement at CSV-tool?
It's not obvious how the length of Arrays should be handled when encoding. In the profile xls, some arrays are tagged with "[N]", presumably indicating that they have a variable...