[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: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] There are no longer sat numbers in pseudonmea GPGSA driver when reading data from nmea2000 device. |
Date: |
Thu, 8 Jan 2015 17:17:05 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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>
- Re: [gpsd-dev] There are no longer sat numbers in pseudonmea GPGSA driver when reading data from nmea2000 device.,
Eric S. Raymond <=