Re: [Gpsbabel-code] [Patch] nmea.c to allow for optional RMC fields
Brought to you by:
robertl
From: Robert L. <rob...@gp...> - 2010-04-24 06:02:53
|
On Fri, Apr 23, 2010 at 9:09 PM, Warren Toomey <gps...@tu...> wrote: > nmea.c reads all the fields in an NMEA RMC sentence, but on my GPS unit > sometimes the ground speed and track angle values are omitted. This causes > nmea.c to misinterpret the year/month/day of the sentence. The attached > patch finds and reads the correct year/month/day value, regardless of the > prescence of the ground speed and track angle values. > Most of our NMEA reader needs to be beaten with a similar stick. Most fields in NMEA are optional and we don't handle that well. I've applied this. Thanx. > The patch is against nmea.c from gpsbabel-1.3.7-beta20100215. > > P.S Many thanks for gpsbabel! > > Cheers, > Warren >From the "small world" department, we've actually "met" before. I used to work with Dion Johnson and ran in the "Ancient UNIX" circles... RJL |