Re: [Gpsbabel-code] Is this what is intended for GISTeq NMEA output?
Brought to you by:
robertl
From: Robert L. <rob...@gp...> - 2008-09-18 14:09:22
|
On Thu, Sep 18, 2008 at 6:29 AM, Roy Rankin <rr...@ih...> wrote: > In nmea.c is the following > > /* GISTeq doesn't care about the checksum */ > if (opt_gisteq) { > gbfprintf(file_out, "---,"); > } > gbfprintf(file_out, "$%s*%02X\n", obuf, cksum); > which has the effect of putting ---, before the start of the GPRMC record. > Yes, that really is what GISTeq looks like. > I have no idea what the GISTeq is expecting but from the comment I would > have expected that the intent was to replace the checksum with "---,". > It insists on having the (stupid) --- at the front. It doesn't read the checksum, so we don't knock ourselves out to put the "----," in the buffer itself to be included in the checksum. RJL |