gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Where should I start from?


From: Gary E. Miller
Subject: Re: [gpsd-users] Where should I start from?
Date: Sun, 14 Jul 2019 19:21:46 -0700

Yo raaj!

On Mon, 15 Jul 2019 10:05:48 +0800
raaj lokanathan <address@hidden> wrote:

> The gpsd only supports 1Hz rite?

No.  gpsd supports whatever the GPS sends at it.

> Are there any ways to configure it

The point of gpsd is it is self configuring.  Whatever you give gpsd
it decodes and forwards.

> Incase I need to switch it to 10Hz?

That is a GPS setting, not a gpsd setting.  Since we do not know you GPS
model we can't help with that.

> 
> On Thu, 11 Jul 2019 at 1:09 am, Gary E. Miller <address@hidden> wrote:
> 
> > Yo raaj!
> >
> > On Thu, 11 Jul 2019 00:47:49 +0800
> > raaj lokanathan <address@hidden> wrote:
> >  
> > > Here is my driver code which I wrote it based on the
> > > driver_proto.c.  
> >
> > It is incomplete, missing the parts of packet.[ch], SCOnstruct, ete.
> >
> > Even the first commnet is wrong.  After that lot's of key pieces
> > missing.  You based on driver_proto which is missing a lot of
> > changes so many features will be broken until you update to the
> > stuff in another driver like the driver_ubx.c
> >  
> > > Now the gpsd is setting the speed as default 9600.  
> >
> > gpsd only (re)sets the speed when it does not detect the GPS type.
> > Since you did not provide any of the packet code I have no idea if
> > your detection works.
> >
> > Usually you just set the port speed with stty before starting
> > gpsd, then gpsd detects the GPS and away your do.
> >  
> > > Can I know how can
> > > I set 115200 for my driver?  
> >
> > Beats me, I have no doc for your chip, and only skeleton code from
> > you. 
> > > I tried setting the speed using gpsctl but that didn't go well.  
> >
> > Because your lgit__set_speed() is a stub.  That is what gpsctl
> > calls. I have no idea how that code should look at I have no doc.
> >
> > So use the stty trick until your code is in much better shape.
> >
> > RGDS
> > GARY
> > ---------------------------------------------------------------------------
> > Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend
> > <https://www.google.com/maps/search/er+Rellim+109+NW+Wilmington+Ave.,+Suite+E,+Bend?entry=gmail&source=g>,
> > 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
> >  




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: pgpV9EbpWvh9z.pgp
Description: OpenPGP digital signature


reply via email to

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