Library to control UBX binary protocol and NMEA over I2C on Ublox GPS modules
This release:
.begin
and .isConnected
, to make them more robust if the module is generating auto PVT or HNR messages when .begin
is called.This release:
getSpeedAccEst
, getHeadingAccEst
, getInvalidLlh
, getHeadVeh
, getMagDec
and getMagAcc
(thank you @balamuruganky) (tested on the NEO-M8U)This release:
autoDOP
and autoHPPOSLLH
(thank you @dotMorten)getGnssFixOk
and getDiffSoln
(thank you @dotMorten)multiSetVal
keys for the F9newCfgValset8/16/32
(thank you @markuckermann)pushRawData
which can be used to push (e.g.) RTCM data directly to the module (thank you @shaneperera and @mstranne)This release adds two new functions: powerOff
and powerOffWithInterrupt
. Check out Example22_PowerOff
for more details.
(Thanks to @unsurv for PR #116)
This release adds getDateValid
and getTimeValid
. These functions return the value of the validDate and validTime bits of the UBX-NAV-PVT valid byte (11).
This release includes:
This release:
configureMessage()
so it only affects the port the user passes in (PR #104)Instead of defining Serial as SerialUSB for all SAMD boards:
#if defined(ARDUINO_ARCH_SAMD)
#define Serial SerialUSB
#endif
We now only do it for SparkFun boards (with USB_VID 0x1B4F) and exclude the SAMD51 Thing Plus (which does use Serial):
// Define Serial for SparkFun SAMD based boards.
// Boards like the RedBoard Turbo use SerialUSB (not Serial).
// But other boards like the SAMD51 Thing Plus use Serial (not SerialUSB).
// The next nine lines let the code compile cleanly on as many SAMD boards as possible.
#if defined(ARDUINO_ARCH_SAMD) // Is this a SAMD board?
#if defined(USB_VID) // Is the USB Vendor ID defined?
#if (USB_VID == 0x1B4F) // Is this a SparkFun board?
#if !defined(ARDUINO_SAMD51_THING_PLUS) // If it is not a SAMD51 Thing Plus
#define Serial SerialUSB // Define Serial as SerialUSB
#endif
#endif
#endif
#endif
This release incorporates PR #96 and adds support for dead reckoning: