gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Function for sending the command


From: Gary E. Miller
Subject: Re: [gpsd-dev] Function for sending the command
Date: Wed, 25 Sep 2019 10:32:05 -0700

Yo Sharmila!

On Wed, 25 Sep 2019 10:17:38 +0530
Sharmila <address@hidden> wrote:

> I want to change the SBAS configuration (sys to EGNOS). I am using 
> custom client application and gpsd deamon.__ If I want to send the 
> UBX-NAV-SBAS command to gps module which function do I need to send.

Easiest to just use ubxtool.  Otherwise it depends on what language
your daemon is written in.  If you daemon is Python, then look at
the ubxtool code.

> How to send this command to the module. Whether I can use *gps_send 
> *function to send the command.

I assume you mean gps.gps_send() as in ubxtool?

> How can I capture the response from
> the module?

The same way that ubxtool does, if you are using python.

At a high level, just have gpsd pass on the raw data to your client.
This is done with the WATCH request in JSON.

RGDS
GARY
---------------------------------------------------------------------------
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: pgpHRubZDCjnZ.pgp
Description: OpenPGP digital signature


reply via email to

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