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
constuint8_t UBX_CLASS_HNR = 0x28; //(NEO-M8P ONLY!!!) High Rate Navigation Results Messages: High rate time, position speed, heading
194
194
constuint8_t UBX_CLASS_NMEA = 0xF0; // NMEA Strings: standard NMEA strings
195
+
constuint8_t UBX_CLASS_PUBX = 0xF1; // Proprietary NMEA-format messages defined by u-blox
195
196
196
197
// Class: CFG
197
198
// The following are used for configuration. Descriptions are from the ZED-F9P Interface Description pg 33-34 and NEO-M9N Interface Description pg 47-48
@@ -265,6 +266,15 @@ const uint8_t UBX_NMEA_MAINTALKERID_GB = 0x05; // main talker ID is B
265
266
constuint8_t UBX_NMEA_GSVTALKERID_GNSS = 0x00; // GNSS specific Talker ID (as defined by NMEA)
266
267
constuint8_t UBX_NMEA_GSVTALKERID_MAIN = 0x01; // use the main Talker ID
267
268
269
+
// Class: PUBX
270
+
// The following are used to enable PUBX messages with configureMessage
271
+
// See the M8 receiver description & protocol specification for more details
272
+
constuint8_t UBX_PUBX_CONFIG = 0x41; // Set protocols and baud rate
273
+
constuint8_t UBX_PUBX_POSITION = 0x00; // Lat/Long position data
0 commit comments