Skip to content

Commit f5b4071

Browse files
committed
Add RXM-PMP to u-blox_structs.h
1 parent 9bff608 commit f5b4071

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/u-blox_structs.h

+27
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,33 @@ typedef struct
14631463
UBX_RXM_RAWX_data_t *callbackData;
14641464
} UBX_RXM_RAWX_t;
14651465

1466+
// UBX-RXM-PMP (0x02 0x72): PMP raw data (D9 modules)
1467+
const uint16_t UBX_RXM_PMP_MAX_LEN = 528;
1468+
1469+
typedef struct
1470+
{
1471+
uint8_t version; // Message version (0x00 for this version)
1472+
uint8_t reserved0[3]; // Reserved
1473+
uint32_t timeTag; // Time since startup when frame started : ms
1474+
uint32_t uniqueWord[2]; // Received unique words
1475+
uint16_t serviceIdentifier; // Received service identifier
1476+
uint8_t spare; // Received spare data
1477+
uint8_t uniqueWordBitErrors; // Number of bit errors in both unique words
1478+
uint8_t userData[504]; // Received user data
1479+
uint16_t fecBits; // Number of bits corrected by FEC (forward error correction)
1480+
uint8_t ebno; // Energy per bit to noise power spectral density ratio : 2^-3 dB
1481+
uint8_t reserved1; // Reserved
1482+
} UBX_RXM_PMP_data_t;
1483+
1484+
typedef struct
1485+
{
1486+
ubxAutomaticFlags automaticFlags;
1487+
UBX_RXM_PMP_data_t data;
1488+
bool moduleQueried;
1489+
void (*callbackPointer)(UBX_RXM_PMP_data_t);
1490+
UBX_RXM_PMP_data_t *callbackData;
1491+
} UBX_RXM_PMP_t;
1492+
14661493
// CFG-specific structs
14671494

14681495
// UBX-CFG-RATE (0x06 0x08): Navigation/measurement rate settings

0 commit comments

Comments
 (0)