From d38f0ac981da79709d6d8bc0cf96439385d348dc Mon Sep 17 00:00:00 2001 From: russ396 <46758574+russ396@users.noreply.github.com> Date: Sun, 27 Feb 2022 09:39:47 -0700 Subject: [PATCH] Update SparkFun_u-blox_GNSS_Arduino_Library.h Allow for survey-in observation times greater that 65535 (16-bit) seconds. By changing to uint32_t will allow library to have observation time of 86400 seconds (24-hour) survey-in time. --- src/SparkFun_u-blox_GNSS_Arduino_Library.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SparkFun_u-blox_GNSS_Arduino_Library.h b/src/SparkFun_u-blox_GNSS_Arduino_Library.h index 9608593..e79e46d 100644 --- a/src/SparkFun_u-blox_GNSS_Arduino_Library.h +++ b/src/SparkFun_u-blox_GNSS_Arduino_Library.h @@ -835,8 +835,8 @@ public: // Functions used for RTK and base station setup // It is probably safe to assume that users of the RTK will be using I2C / Qwiic. So let's leave maxWait set to 250ms. bool getSurveyMode(uint16_t maxWait = 250); // Get the current TimeMode3 settings - bool setSurveyMode(uint8_t mode, uint16_t observationTime, float requiredAccuracy, uint16_t maxWait = 250); // Control survey in mode - bool enableSurveyMode(uint16_t observationTime, float requiredAccuracy, uint16_t maxWait = 250); // Begin Survey-In for NEO-M8P + bool setSurveyMode(uint8_t mode, uint32_t observationTime, float requiredAccuracy, uint16_t maxWait = 250); // Control survey in mode + bool enableSurveyMode(uint32_t observationTime, float requiredAccuracy, uint16_t maxWait = 250); // Begin Survey-In for NEO-M8P bool disableSurveyMode(uint16_t maxWait = 250); // Stop Survey-In mode // Given coordinates, put receiver into static position. Set latlong to true to pass in lat/long values instead of ecef. // For ECEF the units are: cm, 0.1mm, cm, 0.1mm, cm, 0.1mm