Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
crc.hpp File Reference

Fixposition SDK: Parser CRC routines. More...

#include <cstdint>
Include dependency graph for crc.hpp:

Go to the source code of this file.

Namespaces

namespace  fpsdk
 Fixposition SDK.
 
namespace  fpsdk::common
 Fixposition SDK: Common library.
 
namespace  fpsdk::common::parser
 Parser.
 
namespace  fpsdk::common::parser::crc
 Parser NOV_B routines and types.
 

Functions

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.
 
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.
 
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)
 
uint8_t fpsdk::common::parser::crc::Crc4spartn (const uint8_t *data, const std::size_t size)
 Calculate 4-bit CRC as used by SPARTN.
 
uint8_t fpsdk::common::parser::crc::Crc8spartn (const uint8_t *data, const std::size_t size)
 Calculate 8-bit CRC as used by SPARTN.
 
uint16_t fpsdk::common::parser::crc::Crc16spartn (const uint8_t *data, const std::size_t size)
 Calculate 16-bit CRC as used by SPARTN.
 
uint32_t fpsdk::common::parser::crc::Crc32spartn (const uint8_t *data, const std::size_t size)
 Calculate 32-bit CRC as used by SPARTN.
 
uint16_t fpsdk::common::parser::crc::ChecksumUbx (const uint8_t *data, const std::size_t size)
 Calculate 16-bit checksum as used by UBX.
 

Detailed Description

Fixposition SDK: Parser CRC routines.

* ___    ___
* \  \  /  /
*  \  \/  /   Copyright (c) Fixposition AG (www.fixposition.com) and contributors
*  /  /\  \   License: see the LICENSE file
* /__/  \__\
*
* Based on work by flipflip (https://github.com/phkehl)
* 

Definition in file crc.hpp.