[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Emulating GPS Over TCP Device Port

From: Gary E. Miller
Subject: Re: [gpsd-dev] Emulating GPS Over TCP Device Port
Date: Tue, 10 Jul 2018 12:40:58 -0700

Yo Gr!

On Tue, 10 Jul 2018 12:06:39 -0600
Gr Hudy <address@hidden> wrote:

> My main question: What is the format of the JSON messages that it
> can/does parse from the TCP device port?

RTFM.  Look in the gpsd source at www/gpsd_json.html.  Or, "Use The
Source, Luke" and study gpsd_json.c and lingps_json.c

> Can I send TPV messages?

Sure.  THey are just JSON.

> I don't see code in gpsd that handles those as an input.

Right.  gpsd generates the TPV.  Look in libgps for the client that
takes the input.  BTW, gpsd can pass along the JSON to a client, it
just does not bother to parse it.

> Do I send RTCM2/RTCM3 messages?

Can't imagine why you would want to.

> Some other format?

Lo'ts of 'em.  Why bother?

> I think AIS is supported there as well,


> but it looks like the AIS protocols are much more
> complicated.

Yup.  But after gpsd parses it, the output is again simple JSON.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpfM0rgS6iiS.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]