Tormod Erevik Lea
Tormod Erevik Lea
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.
See https://github.com/tormoder/fit/pull/61 for some context.
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?
Required for Fit 2.0 (#20).
See test file `testdata/python-fitparse/compressed-speed-distance.fit`. Compressed distance is not accumulated correctly. Possibly a roll over/overflow issue.
Include definition messages in addition to byte payload of unknown fields. Maybe make this a decode option.
The majority of FIT files have type Activity. Consider special handling of them. Benchmark.