old+new protocol support via libgps? (was: [FOSS-GPS] FoxtrotGPS, gearing up for release...)

Joshua Judson Rosen rozzin at geekspace.com
Sun Jun 13 10:28:27 EDT 2010

Timo Juhani Lindfors <timo.lindfors at iki.fi> writes:
> Joshua Judson Rosen <rozzin at geekspace.com> writes:
> >
> >     * Thanks to libgps, FoxtrotGPS supports both the new and old
> >       gpsd protocols transparently.
> Hmm, how does this work? Does it automatically detect the protocol
> version that it should use?

The the old-protocol daemons (including fso-gpsd and older versions of gpsd)
actually respond to the new-protocol "?WATCH=..." command sent by libgps;
they send back old-protocol responses of course, but that's fine--libgps
can handle both new- and old-protocol `watch' streams.

"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."

More information about the FOSS-GPS mailing list