On Wed, Sep 11, 2019 at 1:50 PM Gary E. Miller <
address@hidden> wrote:
Yo pisymbol!
On Wed, 11 Sep 2019 12:00:25 -0400
"pisymbol ." <address@hidden> wrote:
> Hello:
>
> I have a Trimble unit (again) and now using gpsd's API effectively.
> This unit has RTK capability using Trimble's ground stations.
>
> I noticed that when the unit has RTK fix as indicated by the solid
> orange lights on the unit, the 'status' field in the TPV dict
> disappears. Yet when I don't have RTK fix the status field is set to
> 2. In all cases mode is set to 3.
>
> Seems like a bug. Shouldn't I see status = 3 (STATUS_RTK_FIX)?
Uh, no. Field 6, status = 3 is a normal fix.
Oh I was looking at this:
2208 #define STATUS_NO_FIX 0 /* no */
2209 #define STATUS_FIX 1 /* yes, GPS, without DGPS */
2210 #define STATUS_DGPS_FIX 2 /* yes, with DGPS */
2211 #define STATUS_RTK_FIX 3 /* yes, with RTK Fixed */
2212 #define STATUS_RTK_FLT 4 /* yes, with RTK Float */
2213 #define STATUS_DR 5 /* yes, with dead reckoning */
2214 #define STATUS_GNSSDR 6 /* yes, with GNSS + dead reckoning */
2215 #define STATUS_TIME 7 /* yes, time only (surveyed in, manual) */
2216 #define STATUS_SIM 8 /* yes, simulated */
I need to look at it more carefully then.