This is more of a sloppy workaround than a fix. Trying to get the parser to work on 3k files with intermittent bad headers without crashing. Attempts to address #30.
This code it will log a lot of warnings about not a FIT file @ X on files with bad headers and warn file truncated? expected Y bytes, got Z @ W.
I would love to find a great workaround but the FIT protocol is pretty dense and I code much more than I read right now...
This is more of a sloppy workaround than a fix. Trying to get the parser to work on 3k files with intermittent bad headers without crashing. Attempts to address #30.
This code it will log a lot of warnings about
not a FIT file @ X
on files with bad headers and warnfile truncated? expected Y bytes, got Z @ W
.I would love to find a great workaround but the FIT protocol is pretty dense and I code much more than I read right now...