Garry A Lockyer <
garrya...@gmail.com> writes:
> A VERY quick look at the Airmar driver and docs on Airmar website
> suggests the weather station communicates via NMEA sentences. If yes,
> they probably use the standard sentences for GPS position - can’t
> remember their names but they are well documented.
>
> Anyway, you might be able modify the driver to parse NMEA sentences and write to the variable Tom K mentioned.
If it's NMEA, I would suggest putting those bits into gpsd and using
gpsd's interface to get location. Yes, you could reimplement an NMEA
parser, and tt's not really that complicated, but the gpsd code base is
the encapulstion of wisdom about dealing with data from GNSS receivers.