Version 21.141.00 of the FIT SDK is available for download at https://developer.garmin.com/fit/download/
This release is also available at:
FIT C# SDK
FIT Java SDK
FIT JavaScript SDK
FIT Objective-C SDK
In this release:
-
Updated the comments for messages and fields used by the Garmin Health SDK
-
Java SDK
- Added a new Decoder class. The new Decoder is constructed using a byte[] array instead of an InputStream, allowing for random access to the data which results in slightly faster decoding. Also allowing for the isFIT() and checkFileIntegrity() functions to be called without having to close and reopen the stream afterwards. The new Decoder also handles chained FIT files without having to manually call nextFile(). The byte[] array also provides a better interface when the file data is coming from an API call rather than from disk. See the example program for usage: https://github.com/garmin/fit-java-sdk/blob/main/src/main/com/garmin/fit/examples/DecoderExample.java
-
JavaScript SDK
- Improved the performance of the Decoder by reducing unnecessary data copying in the Stream class.
- Removed an unnecessary call to stream.reset() in the Decoder read() function
- Added decode modes to skip over the file header while decoding or decode a file without a header
-
Python SDK
- Improved exception handling to no longer consume KeyboardInterrupt or SystemExit exceptions
- Removed an unnecessary call to stream.reset() in the Decoder read() function.
- Added decode modes to skip over the file header while decoding or decode a file without a header
-
C SDK
- Prevent infinite loop in Fit_GetMesgDef(), preemptively before anyone customizes the C SDK with more that 255 total messages through the config.csv file
-
Added new manufacturer ids
- Abawo
- Bafang Electric (Suzhou) Co.,Ltd.
- EO Labs (Swimbetter)
- MyWhoosh Technology Services LLC
- RAVEMEN
-
Added new Garmin product ids
- indexSmartScale2
- edge1050
- descentT2
- lilyAthlete aka the Lily 2 Active
- fenix8Solar
- fenix8SolarLarge
- fenix8Small
- fenix8
- enduro3
- fenixE
-
Added new autolap_trigger mode
- auto_select
-
Updated workout message
- Made the wkt_description field public
-
Updated chrono_shot_session message
- standard_deviation