Skip to content

Commit f372324

Browse files
committed
Add selected parts of #116 - thank you @nabelekt
1 parent 9243493 commit f372324

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: src/SparkFun_u-blox_GNSS_Arduino_Library.h

+10
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ const uint8_t UBX_CLASS_LOG = 0x21; // Logging Messages: Log creation, deletion
192192
const uint8_t UBX_CLASS_SEC = 0x27; // Security Feature Messages
193193
const uint8_t UBX_CLASS_HNR = 0x28; //(NEO-M8P ONLY!!!) High Rate Navigation Results Messages: High rate time, position speed, heading
194194
const uint8_t UBX_CLASS_NMEA = 0xF0; // NMEA Strings: standard NMEA strings
195+
const uint8_t UBX_CLASS_PUBX = 0xF1; // Proprietary NMEA-format messages defined by u-blox
195196

196197
// Class: CFG
197198
// 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
265266
const uint8_t UBX_NMEA_GSVTALKERID_GNSS = 0x00; // GNSS specific Talker ID (as defined by NMEA)
266267
const uint8_t UBX_NMEA_GSVTALKERID_MAIN = 0x01; // use the main Talker ID
267268

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+
const uint8_t UBX_PUBX_CONFIG = 0x41; // Set protocols and baud rate
273+
const uint8_t UBX_PUBX_POSITION = 0x00; // Lat/Long position data
274+
const uint8_t UBX_PUBX_RATE = 0x40; // Set/get NMEA message output rate
275+
const uint8_t UBX_PUBX_SVSTATUS = 0x03; // Satellite status
276+
const uint8_t UBX_PUBX_TIME = 0x04; // Time of day and clock information
277+
268278
// Class: HNR
269279
// The following are used to configure the HNR message rates
270280
const uint8_t UBX_HNR_ATT = 0x01; // HNR Attitude

0 commit comments

Comments
 (0)