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
//The following are used to configure the RXM UBX messages (receiver manager messages). Descriptions from UBX messages overview (ZED_F9P Interface Description Document page 36)
377
377
constuint8_t UBX_RXM_MEASX = 0x14; //Satellite Measurements for RRLP
378
-
constuint8_t UBX_RXM_PMREQ = 0x41; //Requests a Power Management task (two differenent packet sizes)
378
+
constuint8_t UBX_RXM_PMREQ = 0x41; //Requests a Power Management task (two different packet sizes)
379
+
constuint8_t UBX_RXM_PMP = 0x72; //PMP raw data (two different versions) (packet size for version 0x01 is variable)
379
380
constuint8_t UBX_RXM_RAWX = 0x15; //Multi-GNSS Raw Measurement Data
380
381
constuint8_t UBX_RXM_RLM = 0x59; //Galileo SAR Short-RLM report (two different packet sizes)
381
382
constuint8_t UBX_RXM_RTCM = 0x32; //RTCM input status
@@ -1070,6 +1071,13 @@ class SFE_UBLOX_GNSS
1070
1071
1071
1072
// Receiver Manager Messages (RXM)
1072
1073
1074
+
// Configure a callback for the UBX-RXM-PMP messages produced by the NEO-D9S
1075
+
// Note: on the NEO-D9S, the UBX-RXM-PMP messages are enabled by default on all ports.
1076
+
// You can disable them by calling (e.g.) setVal8(UBLOX_CFG_MSGOUT_UBX_RXM_PMP_I2C, 0)
1077
+
// The NEO-D9S does not support UBX-CFG-MSG
1078
+
boolsetAutoRXMPMPcallback(void (*callbackPointer)(UBX_RXM_PMP_data_t), uint16_t maxWait = defaultMaxWait); // Callback is passed all of the data. Heavy on the stack. May cause problems on some platforms.
1079
+
boolsetAutoRXMPMPcallbackPtr(void (*callbackPointerPtr)(UBX_RXM_PMP_data_t *), uint16_t maxWait = defaultMaxWait); // Callback receives a pointer to the data, instead of _all_ the data. Much kinder on the stack!
boolsetAutoRXMSFRBX(bool enabled, uint16_t maxWait = defaultMaxWait); //Enable/disable automatic RXM SFRBX reports at the navigation frequency
1075
1083
boolsetAutoRXMSFRBX(bool enabled, bool implicitUpdate, uint16_t maxWait = defaultMaxWait); //Enable/disable automatic RXM SFRBX 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
@@ -1385,6 +1393,7 @@ class SFE_UBLOX_GNSS
1385
1393
UBX_NAV_RELPOSNED_t *packetUBXNAVRELPOSNED = NULL; // Pointer to struct. RAM will be allocated for this if/when necessary
1386
1394
UBX_NAV_AOPSTATUS_t *packetUBXNAVAOPSTATUS = NULL; // Pointer to struct. RAM will be allocated for this if/when necessary
1387
1395
1396
+
UBX_RXM_PMP_t *packetUBXRXMPMP = NULL; // Pointer to struct. RAM will be allocated for this if/when necessary
1388
1397
UBX_RXM_SFRBX_t *packetUBXRXMSFRBX = NULL; // Pointer to struct. RAM will be allocated for this if/when necessary
1389
1398
UBX_RXM_RAWX_t *packetUBXRXMRAWX = NULL; // Pointer to struct. RAM will be allocated for this if/when necessary
1390
1399
@@ -1472,6 +1481,7 @@ class SFE_UBLOX_GNSS
1472
1481
boolinitPacketUBXNAVSAT(); // Allocate RAM for packetUBXNAVSAT and initialize it
1473
1482
boolinitPacketUBXNAVRELPOSNED(); // Allocate RAM for packetUBXNAVRELPOSNED and initialize it
1474
1483
boolinitPacketUBXNAVAOPSTATUS(); // Allocate RAM for packetUBXNAVAOPSTATUS and initialize it
1484
+
boolinitPacketUBXRXMPMP(bool usePtr = false); // Allocate RAM for packetUBXRXMPMP and initialize it
1475
1485
boolinitPacketUBXRXMSFRBX(); // Allocate RAM for packetUBXRXMSFRBX and initialize it
1476
1486
boolinitPacketUBXRXMRAWX(); // Allocate RAM for packetUBXRXMRAWX and initialize it
1477
1487
boolinitPacketUBXCFGRATE(); // Allocate RAM for packetUBXCFGRATE and initialize it
0 commit comments