adriangibbons / php-fit-file-analysis

A PHP class for analysing FIT files created by Garmin GPS devices
MIT License
126 stars 49 forks source link

Implemented compress TSs, added Bryton vendor code, added Rider 310 device #41

Closed rafaelnajera closed 7 years ago

rafaelnajera commented 7 years ago

This implements compressed timestamps records, I tested it with my Bryton Rider 310 files (thus the added vendor and devices codes). As far as I can tell there's nothing more to compressed TS than just calculating the timestamp using the given offset and the most recent full timestamp.

Attached is a sample file:

170316162558.fit.zip

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.0%) to 70.337% when pulling c4cf676a2b466ec48865fc551feadf5ef4961651 on rafaelnajera:compressed-ts into 83335292d6b1f3f37dc5bc00f6dd2c63c57a2c0a on adriangibbons:master.

adriangibbons commented 7 years ago

Thank you very much @rafaelnajera !!