Parser NOV_B routines and types.
More...
|
uint32_t | Crc32fpb (const uint8_t *data, const std::size_t size) |
| Calculate 32-bit CRC as used by FP_B.
|
|
uint32_t | Crc24rtcm3 (const uint8_t *data, const std::size_t size) |
| Calculate 24-bit CRC as used by RTCM3 and SPARTN.
|
|
uint32_t | Crc32novb (const uint8_t *data, const std::size_t size) |
| Calculate 32-bit CRC as used by NOV_B (and UNI_B)
|
|
uint8_t | Crc4spartn (const uint8_t *data, const std::size_t size) |
| Calculate 4-bit CRC as used by SPARTN.
|
|
uint8_t | Crc8spartn (const uint8_t *data, const std::size_t size) |
| Calculate 8-bit CRC as used by SPARTN.
|
|
uint16_t | Crc16spartn (const uint8_t *data, const std::size_t size) |
| Calculate 16-bit CRC as used by SPARTN.
|
|
uint32_t | Crc32spartn (const uint8_t *data, const std::size_t size) |
| Calculate 32-bit CRC as used by SPARTN.
|
|
uint16_t | ChecksumUbx (const uint8_t *data, const std::size_t size) |
| Calculate 16-bit checksum as used by UBX.
|
|
Parser NOV_B routines and types.
◆ Crc32fpb()
uint32_t fpsdk::common::parser::crc::Crc32fpb |
( |
const uint8_t * | data, |
|
|
const std::size_t | size ) |
Calculate 32-bit CRC as used by FP_B.
- Parameters
-
[in] | data | Pointer to the data to calculate the CRC for |
[in] | size | Size of data |
- Returns
- the CRC
◆ Crc24rtcm3()
uint32_t fpsdk::common::parser::crc::Crc24rtcm3 |
( |
const uint8_t * | data, |
|
|
const std::size_t | size ) |
Calculate 24-bit CRC as used by RTCM3 and SPARTN.
- Parameters
-
[in] | data | Pointer to the data to calculate the CRC for |
[in] | size | Size of data |
- Returns
- the CRC (32-bit value masked with 0x00ffffff)
◆ Crc32novb()
uint32_t fpsdk::common::parser::crc::Crc32novb |
( |
const uint8_t * | data, |
|
|
const std::size_t | size ) |
Calculate 32-bit CRC as used by NOV_B (and UNI_B)
- Parameters
-
[in] | data | Pointer to the data to calculate the CRC for |
[in] | size | Size of data |
- Returns
- the CRC
◆ Crc4spartn()
uint8_t fpsdk::common::parser::crc::Crc4spartn |
( |
const uint8_t * | data, |
|
|
const std::size_t | size ) |
Calculate 4-bit CRC as used by SPARTN.
- Parameters
-
[in] | data | Pointer to the data to calculate the CRC for |
[in] | size | Size of data |
- Returns
- CRC (8-bit value masked with 0x0f)
◆ Crc8spartn()
uint8_t fpsdk::common::parser::crc::Crc8spartn |
( |
const uint8_t * | data, |
|
|
const std::size_t | size ) |
Calculate 8-bit CRC as used by SPARTN.
- Parameters
-
[in] | data | Pointer to the data to calculate the CRC for |
[in] | size | Size of data |
- Returns
- the CRC
◆ Crc16spartn()
uint16_t fpsdk::common::parser::crc::Crc16spartn |
( |
const uint8_t * | data, |
|
|
const std::size_t | size ) |
Calculate 16-bit CRC as used by SPARTN.
- Parameters
-
[in] | data | Pointer to the data to calculate the CRC for |
[in] | size | Size of data |
- Returns
- the CRC (result undefined if size <= 0 or data == NULL)
◆ Crc32spartn()
uint32_t fpsdk::common::parser::crc::Crc32spartn |
( |
const uint8_t * | data, |
|
|
const std::size_t | size ) |
Calculate 32-bit CRC as used by SPARTN.
- Parameters
-
[in] | data | Pointer to the data to calculate the CRC for |
[in] | size | Size of data |
- Returns
- the CRC
◆ ChecksumUbx()
uint16_t fpsdk::common::parser::crc::ChecksumUbx |
( |
const uint8_t * | data, |
|
|
const std::size_t | size ) |
Calculate 16-bit checksum as used by UBX.
- Parameters
-
[in] | data | Pointer to the data to calculate the CRC for |
[in] | size | Size of data |
- Returns
- the checksum