-
Notifications
You must be signed in to change notification settings - Fork 229
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
fit: Add decoder #391
Conversation
@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. |
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. |
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 |
@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. |
@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. |
@mlofjard No hurry, nice to hear your still interested |
@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 |
@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. |
Replaced by #863 |
@mlofjard i noticed this PR has a test.fit test file... but don't remember were i got it from :( |
No description provided.