Namespaces | Functions
crc.hpp File Reference

Declares the functions to compute and validate the CRC of a buffer. More...

#include <septentrio_gnss_driver/parsers/sbf_blocks.hpp>
#include <cstdint>
#include <stdbool.h>
#include <stddef.h>
Include dependency graph for crc.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Declares the functions to compute and validate the CRC of a buffer.

Date
17/08/20

Definition in file crc.hpp.



septentrio_gnss_driver
Author(s): Tibor Dome
autogenerated on Wed Nov 22 2023 04:04:27