Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fit: Add decoder #391

Closed
wants to merge 1 commit into from
Closed

fit: Add decoder #391

wants to merge 1 commit into from

Conversation

wader
Copy link
Owner

@wader wader commented Aug 22, 2022

No description provided.

@wader
Copy link
Owner Author

wader commented Feb 12, 2023

@mlofjard Hey, i noticed you working on a FIT decoder, maybe this stalled PR could be of interest? feel free to copy or get inspiration from it! I just rebased it and made sure it still builds and decodes somewhat.

Don't remember how far i got and what were left to do, but i think it i was thinking about adding support to use some definition file from garmin to map ids in a nicer way. I guess either by embedding it or add an option to the decoder to load it externally somehow at decode time.

@mlofjard
Copy link
Contributor

Hi @wader, yes it started as a fun weekend project after your FOSDEM talk, and then I found this PR a few days later. I'm currently exploring generating the definitions from Garmins long excel sheet, while also adding more value formatting functions for stuff like dates, coordinates and such.

@wader
Copy link
Owner Author

wader commented Feb 12, 2023

Aha I see, that sounds great. We can probably replace this PR with what your working on. Feel free to create a PR early even if things are hacky or broken if you want feedback or review

@wader
Copy link
Owner Author

wader commented May 1, 2023

@mlofjard Hej! i did a quite large refactor how formats and register some days ago. I rebased this PR with the new way of doing it, should hopefully for you be just a copy/paste of the init function.

@mlofjard
Copy link
Contributor

mlofjard commented May 5, 2023

@wader Nice. I've been dragged around on other stuff lately, but today I might have some time to finally get back into it. Will rebase my fork and try it out.

@wader
Copy link
Owner Author

wader commented May 5, 2023

@mlofjard No hurry, nice to hear your still interested

@wader
Copy link
Owner Author

wader commented Feb 5, 2024

@mlofjard Tja, was nice to meet you! hope you made some progress and feel free to open a PR even if the code is very WIP if you want feedback or discuss something

@mlofjard
Copy link
Contributor

mlofjard commented Feb 6, 2024

@wader Yeah, it was funny that we ended up at the same hotel this year. I actually got it working, and it reads all the example files from the SDK now (the ones with dynamic developer fields were the final headache). A PR has been made.

@wader
Copy link
Owner Author

wader commented Feb 6, 2024

@wader Yeah, it was funny that we ended up at the same hotel this year. I actually got it working, and it reads all the example files from the SDK now (the ones with dynamic developer fields were the final headache). A PR has been made.

Yeap! feel i should have stayed and chatted a bit more :) sound like really good progress! mm i remember there were some quite tricky things in the spec to understand.

@wader
Copy link
Owner Author

wader commented Feb 6, 2024

Replaced by #863

@wader wader closed this Feb 6, 2024
@wader
Copy link
Owner Author

wader commented Feb 6, 2024

@mlofjard i noticed this PR has a test.fit test file... but don't remember were i got it from :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants