From f372324f6c0020c521960cca63c96156a77c886f Mon Sep 17 00:00:00 2001 From: PaulZC Date: Mon, 28 Feb 2022 07:24:57 +0000 Subject: [PATCH] Add selected parts of #116 - thank you @nabelekt --- src/SparkFun_u-blox_GNSS_Arduino_Library.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/SparkFun_u-blox_GNSS_Arduino_Library.h b/src/SparkFun_u-blox_GNSS_Arduino_Library.h index 9608593..50b42c6 100644 --- a/src/SparkFun_u-blox_GNSS_Arduino_Library.h +++ b/src/SparkFun_u-blox_GNSS_Arduino_Library.h @@ -192,6 +192,7 @@ const uint8_t UBX_CLASS_LOG = 0x21; // Logging Messages: Log creation, deletion const uint8_t UBX_CLASS_SEC = 0x27; // Security Feature Messages const uint8_t UBX_CLASS_HNR = 0x28; //(NEO-M8P ONLY!!!) High Rate Navigation Results Messages: High rate time, position speed, heading const uint8_t UBX_CLASS_NMEA = 0xF0; // NMEA Strings: standard NMEA strings +const uint8_t UBX_CLASS_PUBX = 0xF1; // Proprietary NMEA-format messages defined by u-blox // Class: CFG // 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 const uint8_t UBX_NMEA_GSVTALKERID_GNSS = 0x00; // GNSS specific Talker ID (as defined by NMEA) const uint8_t UBX_NMEA_GSVTALKERID_MAIN = 0x01; // use the main Talker ID +// Class: PUBX +// The following are used to enable PUBX messages with configureMessage +// See the M8 receiver description & protocol specification for more details +const uint8_t UBX_PUBX_CONFIG = 0x41; // Set protocols and baud rate +const uint8_t UBX_PUBX_POSITION = 0x00; // Lat/Long position data +const uint8_t UBX_PUBX_RATE = 0x40; // Set/get NMEA message output rate +const uint8_t UBX_PUBX_SVSTATUS = 0x03; // Satellite status +const uint8_t UBX_PUBX_TIME = 0x04; // Time of day and clock information + // Class: HNR // The following are used to configure the HNR message rates const uint8_t UBX_HNR_ATT = 0x01; // HNR Attitude