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
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -504,6 +504,8 @@ class SFE_UBLOX_GPS
504
504
voidflushPVT(); //Mark all the PVT data as read/stale. This is handy to get data alignment after CRC failure
505
505
voidflushHPPOSLLH(); //Mark all the PVT data as read/stale. This is handy to get data alignment after CRC failure
506
506
507
+
boolgetGnssFixOk(uint16_t maxWait = getPVTmaxWait); //Get whether we have a valid fix (i.e within DOP & accuracy masks)
508
+
boolgetDiffSoln(uint16_t maxWait = getPVTmaxWait); //Get whether differential corrections were applied
507
509
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.
508
510
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.
509
511
int32_tgetAltitude(uint16_t maxWait = getPVTmaxWait); //Returns the current altitude in mm above ellipsoid
@@ -687,6 +689,9 @@ class SFE_UBLOX_GPS
687
689
bool gpsDateValid;
688
690
bool gpsTimeValid;
689
691
692
+
693
+
bool gnssFixOk; //valid fix (i.e within DOP & accuracy masks)
694
+
bool diffSoln; //Differential corrections were applied
690
695
int32_t latitude; //Degrees * 10^-7 (more accurate than floats)
691
696
int32_t longitude; //Degrees * 10^-7 (more accurate than floats)
0 commit comments