Defines the CRC table and the functions to compute and validate the CRC of an SBF block. More...
#include <septentrio_gnss_driver/crc/crc.hpp>
#include <septentrio_gnss_driver/parsers/parsing_utilities.hpp>
Go to the source code of this file.
Namespaces | |
crc | |
Functions | |
uint16_t | crc::compute16CCITT (const uint8_t *buf, size_t buf_length) |
This function computes the CRC-8-CCITT (Cyclic Redundancy Check) of a buffer "buf" of "buf_length" bytes. More... | |
bool | crc::isValid (const std::vector< uint8_t > &message) |
Validates whether the calculated CRC of the SBF block at hand matches the CRC field of the streamed SBF block. More... | |
Defines the CRC table and the functions to compute and validate the CRC of an SBF block.
Definition in file crc.cpp.