php-fit-file-analysis icon indicating copy to clipboard operation
php-fit-file-analysis copied to clipboard

Multiple sessions

Open Xring-git opened this issue 3 years ago • 5 comments

Hi,

for the first time Garmin (yesterday and today) has sent me a FIT with multiple sessions, that generate an error.

How to approach this?

Thanks a lot, Franco

Xring-git avatar Jul 28 '20 18:07 Xring-git

Hi @Xring-git I haven't seen a file with multiple sessions before either. Is a session related to multisport activities e.g. a triathlon contain swim-transition-bike-transition-run?

Are you able to share it so that I can take a look?

adriangibbons avatar Jul 29 '20 12:07 adriangibbons

Hi Adrian,

see in attach.

garmin_activity.zip

Xring-git avatar Jul 29 '20 13:07 Xring-git

Just curious if you have any insights into how to address multisport FIT files.

Eric-11 avatar Oct 10 '22 16:10 Eric-11

Happily, the Garmin documentation seems to have come one quite a bit over the past few years. Check out https://developer.garmin.com/fit/file-types/activity/ and see Example Message Ordering for Summary Last File Recording of a Multi-Sport Activity in particular.

I'd also use the FitCSVTool

adriangibbons avatar Oct 10 '22 16:10 adriangibbons

I've updated the enum data in my forked version and found that fixed the problem with the attached file.

Eric-11 avatar Oct 12 '22 03:10 Eric-11