fit_sdk 0.2.0 copy "fit_sdk: ^0.2.0" to clipboard
fit_sdk: ^0.2.0 copied to clipboard

A Dart port of the Garmin FIT SDK for encoding and decoding FIT (Flexible and Interoperable Data Transfer) files. This library allows you to read and write FIT files used by Garmin and other fitness devices.

0.1.0 #

  • Initial release
  • Dart port of Garmin FIT SDK from C#
  • Support for FIT Protocol v2.0
  • Support for FIT Profile v21.188
  • Core features:
    • Decode FIT files with full message parsing
    • Encode FIT files with message creation
    • Developer field support
    • Message broadcasting system
    • CRC validation
    • Protocol validation
  • Includes all standard FIT message types
  • Pure Dart implementation with no native dependencies

0.2.0 #

  • Enhanced 64-bit Integer Support: Added proper handling for sint64, uint64, and uint64z data types in both reading and writing operations
  • Improved Field Writing Logic:
    • Optimized string field padding to avoid unnecessary iterations
    • Fixed field value writing to properly handle cases where field values are fewer than the defined size
    • Improved handling of null terminators in string fields
  • Message Definition Optimization: Filter out empty fields (size = 0) when creating message definitions from messages to reduce file size
  • Enhanced Encoding API: Added optional MesgDefinition parameter to writeMesg() method for more flexible message encoding
  • Code Quality Improvements: Applied consistent code formatting across multiple files
  • Tested and validated in production project
0
likes
120
points
78
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart port of the Garmin FIT SDK for encoding and decoding FIT (Flexible and Interoperable Data Transfer) files. This library allows you to read and write FIT files used by Garmin and other fitness devices.

Repository (GitHub)
View/report issues

Topics

#garmin #fit #fitness #sports #health

Documentation

API reference

License

MIT (license)

More

Packages that depend on fit_sdk