[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] There are no longer sat numbers in pseudonmea GPGSA drive
From: |
address@hidden |
Subject: |
Re: [gpsd-dev] There are no longer sat numbers in pseudonmea GPGSA driver when reading data from nmea2000 device. |
Date: |
Fri, 09 Jan 2015 07:39:23 +0100 |
Hello,
no, i have fixed it with my recent patches to pseudonmea.c and driver_nmea2000.c
Reinhard
-----Original-Nachricht-----
Betreff: Re: [gpsd-dev] There are no longer sat numbers in pseudonmea GPGSA
driver when reading data from nmea2000 device.
Datum: Thu, 08 Jan 2015 23:17:11 +0100
Von: "Eric S. Raymond" <address@hidden>
An: "address@hidden" <address@hidden>
address@hidden <address@hidden>:
> Hallo,
>
> in pseudenmea.c at line 175 and line 179, the sats for the GPGSA message are
> taken simply from
>
> session->sats_used[i]
>
> This structure is only valid, if NMEA_ENABLE is true.
>
> I think, this info should be taken from
>
> session->gpsdata.skyview[l1].used
>
> and
>
> session->gpsdata.skyview[l1].PRN
>
>
> The driver_nmea2000.c and many other drives do no populate
>
> session->sats_used[i]
>
>
> Reinhard
I reworked the code recently to represent the satellite data as an
array of structs rather than parallel arrays of ints and floats. Are
you still seeing this problem?
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>