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
// From v2.0, the data from getSurveyStatus (UBX-NAV-SVIN) is returned in UBX_NAV_SVIN_t packetUBXNAVSVIN
137
138
// Please see u-blox_structs.h for the full definition of UBX_NAV_SVIN_t
138
139
// You can either read the data from packetUBXNAVSVIN directly
139
-
// or can use the helper functions: getSurveyInActive; getSurveyInValid; getSurveyInObservationTime; and getSurveyInMeanAccuracy
140
+
// or can use the helper functions: getSurveyInActive; getSurveyInValid; getSurveyInObservationTime; getSurveyInObservationTimeFull; and getSurveyInMeanAccuracy
140
141
response = myGNSS.getSurveyStatus(2000); //Query module for SVIN status with 2000ms timeout (req can take a long time)
141
142
142
143
if (response == true) // Check if fresh data was received
143
144
{
144
145
Serial.print(F("Press x to end survey - "));
145
146
Serial.print(F("Time elapsed: "));
146
-
Serial.print((String)myGNSS.getSurveyInObservationTime()); // Call the helper function
147
+
Serial.print((String)myGNSS.getSurveyInObservationTimeFull()); // Call the helper function
147
148
Serial.print(F(" ("));
148
149
Serial.print((String)myGNSS.packetUBXNAVSVIN->data.dur); // Read the survey-in duration directly from packetUBXNAVSVIN
0 commit comments