You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/SparkFun_Ublox_Arduino_Library.h
+7
Original file line number
Diff line number
Diff line change
@@ -509,6 +509,8 @@ class SFE_UBLOX_GPS
509
509
voidflushHPPOSLLH(); //Mark all the PVT data as read/stale. This is handy to get data alignment after CRC failure
510
510
voidflushDOP(); //Mark all the DOP data as read/stale. This is handy to get data alignment after CRC failure
511
511
512
+
boolgetGnssFixOk(uint16_t maxWait = getPVTmaxWait); //Get whether we have a valid fix (i.e within DOP & accuracy masks)
513
+
boolgetDiffSoln(uint16_t maxWait = getPVTmaxWait); //Get whether differential corrections were applied
512
514
int32_tgetLatitude(uint16_t maxWait = getPVTmaxWait); //Returns the current latitude in degrees * 10^-7. Auto selects between HighPrecision and Regular depending on ability of module.
513
515
int32_tgetLongitude(uint16_t maxWait = getPVTmaxWait); //Returns the current longitude in degrees * 10-7. Auto selects between HighPrecision and Regular depending on ability of module.
514
516
int32_tgetAltitude(uint16_t maxWait = getPVTmaxWait); //Returns the current altitude in mm above ellipsoid
@@ -700,6 +702,9 @@ class SFE_UBLOX_GPS
700
702
bool gpsDateValid;
701
703
bool gpsTimeValid;
702
704
705
+
706
+
bool gnssFixOk; //valid fix (i.e within DOP & accuracy masks)
707
+
bool diffSoln; //Differential corrections were applied
703
708
int32_t latitude; //Degrees * 10^-7 (more accurate than floats)
704
709
int32_t longitude; //Degrees * 10^-7 (more accurate than floats)
0 commit comments