> Let's volley this. Here's the data structures and the GPX writer.
> If this looks in the game to you, I'll add the GPX reader after you
> me some sample GPX data files that contain these things. :-)
Here's the updated vitosmt.c
with the new waypoint struct members, aaand I finally cracked the last
3 bytes of the SMT GPS fix valid and number of sats, which correspond
to <sat> and <fix> GPX tags.
The comment/unknown field is no more.
Nice work all (and head up coz millions of Google Earth users are
counting on us!)
Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail sur http://mail.yahoo.fr
RJL> I restored the required inclusion of errno.h, replaced itoa with
RJL> sprintf, regenerated the reference files, and committed this.
ET> [...] aaand I finally cracked the last 3 bytes of the SMT GPS
ET> fix valid and number of sats, which correspond to <sat> and
ET> <fix> GPX tags.
RJL> How about I add those as real members of struct waypt and add
RJL> them to the GPX reader and writer and give vitosmt.c permission
RJL> to quit fondling the xml_extras tags? :-)
RJL> I'll do that work if you nod your head that it's an OK thing
RJL> to do.
<fix> should be some kind of enum:
short or unsigned char ... your call.
While we're rewriting everything, I might take a peek at getting
<speed>, <course> <Xdop> and <sats> out of NMEAs
Lèche-vitrine ou lèche-écran ?