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
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ v2.1 of the library adds support for u-blox AssistNow<sup>TM</sup> Assisted GNSS
48
48
This library is the new and improved version of the very popular SparkFun u-blox GNSS Arduino Library. v2.0 contains some big changes and improvements:
49
49
50
50
* Seamless support for "automatic" message delivery:
51
-
* In v1.8, you could ask for the NAV PVT (Navigation Position Velocity Time) message to be delivered _automatically_, without polling. v2.0 adds automatic support for [**26 messages**](./Theory.md#auto-messages), covering the full range of: standard and High Precision position, velocity, attitude and time information; relative positioning; event capture with nanosecond time resolution; raw GNSS signal data including carrier phase; Sensor Fusion; and High Navigation Rate data.
51
+
* In v1.8, you could ask for the NAV PVT (Navigation Position Velocity Time) message to be delivered _automatically_, without polling. v2.0 adds automatic support for [**27 messages**](./Theory.md#auto-messages), covering the full range of: standard and High Precision position, velocity, attitude and time information; relative positioning; event capture with nanosecond time resolution; raw GNSS signal data including carrier phase; Sensor Fusion; and High Navigation Rate data.
52
52
* Don't see the message you really need? [Adding_New_Messages](./Adding_New_Messages.md) provides details on how to add "auto" support for your favourite message.
53
53
* Dynamic memory allocation with clearly-defined data storage structs for each message:
54
54
* There are no static 'global' variables to eat up your RAM. v2.0 automatically allocates memory for the automatic messages when they are enabled. You may find your total RAM use is lower with v2.0 than with v1.8.
Copy file name to clipboardExpand all lines: src/SparkFun_u-blox_GNSS_Arduino_Library.h
+9-3
Original file line number
Diff line number
Diff line change
@@ -1110,11 +1110,17 @@ class SFE_UBLOX_GNSS
1110
1110
voidflushNAVCLOCK(); // Mark all the data as read/stale
1111
1111
voidlogNAVCLOCK(bool enabled = true); // Log data to file buffer
1112
1112
1113
-
// Add "auto" support for NAV SVIN - to avoid needing 'global' storage
1114
-
boolgetSurveyStatus(uint16_t maxWait); // Reads survey in status
1113
+
boolgetSurveyStatus(uint16_t maxWait = 2100); // NAV SVIN - Reads survey in status
1114
+
boolsetAutoNAVSVIN(bool enabled, uint16_t maxWait = defaultMaxWait); // Enable/disable automatic survey in reports at the navigation frequency
1115
+
boolsetAutoNAVSVIN(bool enabled, bool implicitUpdate, uint16_t maxWait = defaultMaxWait); // Enable/disable automatic survey in reports at the navigation frequency, with implicitUpdate == false accessing stale data will not issue parsing of data in the rxbuffer of your interface, instead you have to call checkUblox when you want to perform an update
1116
+
boolsetAutoNAVSVINrate(uint8_t rate, bool implicitUpdate = true, uint16_t maxWait = defaultMaxWait); // Set the rate for automatic SVIN reports
1117
+
boolsetAutoNAVSVINcallbackPtr(void (*callbackPointerPtr)(UBX_NAV_SVIN_data_t *), uint16_t maxWait = defaultMaxWait); // Enable automatic SVIN reports at the navigation frequency. Data is accessed from the callback.
1118
+
boolassumeAutoNAVSVIN(bool enabled, bool implicitUpdate = true); // In case no config access to the GPS is possible and survey in is send cyclically already
1119
+
voidflushNAVSVIN(); // Mark all the data as read/stale
1120
+
voidlogNAVSVIN(bool enabled = true); // Log data to file buffer
1115
1121
1116
1122
// Add "auto" support for NAV TIMELS - to avoid needing 'global' storage
1117
-
boolgetLeapSecondEvent(uint16_t maxWait); // Reads leap second event info
1123
+
boolgetLeapSecondEvent(uint16_t maxWait = defaultMaxWait); // Reads leap second event info
1118
1124
1119
1125
boolgetNAVSAT(uint16_t maxWait = defaultMaxWait); // Query module for latest AssistNow Autonomous status and load global vars:. If autoNAVSAT is disabled, performs an explicit poll and waits, if enabled does not block. Returns true if new NAVSAT is available.
1120
1126
boolsetAutoNAVSAT(bool enabled, uint16_t maxWait = defaultMaxWait); // Enable/disable automatic NAVSAT reports at the navigation frequency
0 commit comments