11 #ifndef INCLUDED_DIGITAL_CRC_CHECK_H
12 #define INCLUDED_DIGITAL_CRC_CHECK_H
36 typedef std::shared_ptr<crc_check>
sptr;
56 uint64_t initial_value,
59 bool result_reflected,
61 bool discard_crc =
false,
62 unsigned skip_header_bytes = 0);
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Check the CRC at the end of a PDU.
Definition: crc_check.h:34
std::shared_ptr< crc_check > sptr
Definition: crc_check.h:36
static sptr make(unsigned num_bits, uint64_t poly, uint64_t initial_value, uint64_t final_xor, bool input_reflected, bool result_reflected, bool swap_endianness, bool discard_crc=false, unsigned skip_header_bytes=0)
Build the CRC check block.
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29