« Return to Thread: [PATCH] Support for XAiOX iTrackU GPS Logger

Re: [PATCH] Support for XAiOX iTrackU GPS Logger

by Andreas Grimme :: Rate this Message:

| View in Thread

Hi Robert,

the last itracku patch I have sent you is buggy. Please use the attached
patch instead.

Thanks to Stephan, who discovered the bug. Stephan also confirmed that this
patch works with Linux and OSX.

Best regards,

Andreas

-----Original Message-----
From: Andreas Grimme [mailto:andreas.grimme@...]
Sent: Samstag, 18. Oktober 2008 18:47
To: 'Robert Lipe'
Cc: 'gpsbabel-code@...'
Subject: RE: [Gpsbabel-code] [PATCH] Support for XAiOX iTrackU GPS Logger

Hi Robert,
 
Thank you very much for your comments. I found some time to continue work on
the itracku module.

Here are the changes:

* Comments added for deg_min_to_deg() and its twin.
* endianness now handled correctly in

        static waypoint*
        to_waypoint(itracku_data_item* d)

        static void
        to_data_item(const waypoint* wp, itracku_data_item* d)

* automatic port detection is now enabled by using "auto:" as input file
* RT positioning fixed.
* two entries in vecs, one for files and one for device:

        itracku               XAiOX iTrackU Logger
          backup                Appends the input to a backup file
          new                   Only waypoints that are not the backup file
        itracku-bin           XAiOX iTrackU Logger Binary File Format
          backup                Appends the input to a backup file
          new                   Only waypoints that are not the backup file

I tried to use routines from nmea.c for the real time output, but function
gprmc_parse is entangled with the static variables of nmea.c and cannot be
used without major refactoring. Since I do not want to break something in
nmea.c, I would like to keep the nmea parsing in itracku.c for this time. I
added a TODO comment there, so I can refactor later.

Note: the diff also fixes a typo in
/cvsroot/gpsbabel/gpsbabel/xmldoc/formats/navilink.xml,v

Best regards,

Andreas


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gpsbabel-code mailing list  http://www.gpsbabel.org
Gpsbabel-code@...
https://lists.sourceforge.net/lists/listinfo/gpsbabel-code

gpsbabel_itracku.diff (71K) Download Attachment

 « Return to Thread: [PATCH] Support for XAiOX iTrackU GPS Logger