I'm trying to use gpsbabel to do a full backup of saved tracks from my
Garmin eTrex GPS receiver. I'm using gpsbabel 1.3.2 from the Debian
Linux distribution (testing).
My command line is
gpsbabel -t -i garmin -f /dev/ttyS0 -o gpx -F track-backup.gpx
The difficulty I am having is that the timestamps for track points in
the saved logs are not being backed up. For example, here are some
relevant excerpts from the track-backup.gpx file created above:
<trkpt lat="42.436902523" lon="-71.075963974">
<trkpt lat="42.436902523" lon="-71.077036858">
Note however that the timestamps for the ACTIVE LOG are present:
<trkpt lat="42.429993153" lon="-71.084461212">
<trkpt lat="42.430014610" lon="-71.084718704">
Finally, I note by using the 'gpstrans' tool that the timestamps are
indeed stored in the eTrex.
I have spent an hour or two staring at the code, but there are so many
layers of indirection and abstraction that I don't know what to do.
I assume the problem is with the 'garmin.c' input module, as the
'gpx.c' output module seems extremely simple and straightforward.
Does anyone have any suggestions?