[Top][All Lists]

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

Re: Sending data from application to gpsd

From: raaj lokanathan
Subject: Re: Sending data from application to gpsd
Date: Wed, 20 May 2020 10:14:15 +0800

Hi Gary,

First of all the language, I am using is C.
Second is from the gps_send method, I can see it is invoking the gps_sock_send() method. This method is doing the writing part to the socket right?
But I am not sure which part of the gpsd.c receives the command which is being sent through the gps_send method?

Is it possible to open the socket using gps_open and write using gps_send. However as I said previously, I don't have a command to write. Basically I just want to right numbers to the socket. And then from gpsd I should be able to extract it and then form the UBX command and send to the UBX driver.

On Wed, 20 May 2020 at 02:27, Gary E. Miller <address@hidden> wrote:
Yo raaj!

On Tue, 19 May 2020 15:58:59 +0800
raaj lokanathan <address@hidden> wrote:

> I have a question. How to use the gps_send()? From here,

Hard to say without knowing where "here" is.  Which is why I gave you
several examples of how gpsd clients use it.  Your first criteria would
be the language you program in.

> I can see
> only gps_sock_stream is using it.

Then look again.  gpsd uses the same protocol over udp, tcp, sockets,
stdio, etc.

> The gps_send can send any values?

With enough thrust pigs can fly.

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

Thanks and regards,

Raaj Lokanathan

reply via email to

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