polyvertex / fitdecode

A FIT file parsing and decoding library written in Python3
MIT License
157 stars 34 forks source link

More Definition Messages as in the garmin SDK #15

Closed inonoob closed 3 years ago

inonoob commented 3 years ago

Hey

I found the project fit4ruby link. If you check the source code of GlobalFitMessages.rb link and GlobalFitDictionaries.rb link you got more definition messages as it contains in the official Garmin sdk. You might wanna check it out.

Best regards

inonoob commented 3 years ago

Hey, I thing they got them from try and error. For example, my Garmin watch creates in the Activity FIT file a special "definition message" and "data message" which is marked as unknown if I decode it with the SDK. But if I look closely, I can see my age, my height, my weight, my heart rate,my VO2max (MET) but also other things which I can't decode. So yeah like I wrote on my repo, The Garmin SDK is far from complete

polyvertex commented 3 years ago

Thanks for this!

However this will probably remain as a wontfix since there is too much uncertainty in data reliability and because there is no way I can test the correctness of those types definitions.

I would rather keep fitdecode's profile.py being generated exclusively by using the types definitions provided by the official FIT SDK for now.