GNU Radio Manual and C++ API Reference  3.8.1.0
The Free & Open Software Radio Ecosystem

Classes

class  gr::digital::burst_shaper< T >
 Burst shaper block for applying burst padding and ramping. More...
 
class  gr::digital::correlate_access_code_bb
 Examine input for specified access code, one bit at a time. More...
 
class  gr::digital::correlate_access_code_bb_ts
 Examine input for specified access code, one bit at a time. More...
 
class  gr::digital::correlate_access_code_ff_ts
 Examine input for specified access code, one bit at a time. More...
 
class  gr::digital::correlate_access_code_tag_bb
 Examine input for specified access code, one bit at a time. More...
 
class  gr::digital::correlate_access_code_tag_ff
 Examine input for specified access code, one bit at a time. More...
 
class  gr::digital::crc32_async_bb
 Byte-stream CRC block for async messages. More...
 
class  gr::digital::crc32_bb
 Byte-stream CRC block. More...
 
class  gr::digital::framer_sink_1
 Given a stream of bits and access_code flags, assemble packets. More...
 
class  gr::digital::header_buffer
 Helper class for handling payload headers. More...
 
class  gr::digital::header_format_base
 Base header formatter class. More...
 
class  gr::digital::header_format_counter
 Header formatter that adds the payload bits/symbol format and a packet number counter. More...
 
class  gr::digital::header_format_crc
 Header formatter that includes the payload length, packet number, and a CRC check on the header. More...
 
class  gr::digital::header_format_default
 Default header formatter for PDU formatting. More...
 
class  gr::digital::header_format_ofdm
 Header formatter that includes the payload length, packet number, and a CRC check on the header. More...
 
class  gr::digital::header_payload_demux
 Header/Payload demuxer (HPD). More...
 
class  gr::digital::packet_header_default
 Default header formatter for digital packet transmission. More...
 
class  gr::digital::packet_headergenerator_bb
 Generates a header for a tagged, streamed packet. More...
 
class  gr::digital::packet_headerparser_b
 Post header metadata as a PMT. More...
 
class  gr::digital::packet_sink
 process received bits looking for packet sync, header, and process bits into packet More...
 
class  gr::digital::protocol_formatter_async
 Uses a header format object to append a header onto a PDU. More...
 
class  gr::digital::protocol_formatter_bb
 Uses a header format object to create a header from a tagged stream packet. More...
 
class  gr::digital::protocol_parser_b
 Block that synchronizes to a header based on a header format object class. Designed to accept hard bits and produce PDUs with packed bytes (pmt::u8vector). More...
 
class  gr::digital::simple_correlator
 inverse of simple_framer (more or less) More...
 
class  gr::digital::simple_framer
 add sync field, seq number and command field to payload More...
 

Functions

DIGITAL_API unsigned int gr::digital::update_crc32 (unsigned int crc, const unsigned char *buf, size_t len)
 update running CRC-32 More...
 

Detailed Description

Function Documentation

◆ update_crc32()

DIGITAL_API unsigned int gr::digital::update_crc32 ( unsigned int  crc,
const unsigned char *  buf,
size_t  len 
)

update running CRC-32

Update a running CRC with the bytes buf[0..len-1] The CRC should be initialized to all 1's, and the transmitted value is the 1's complement of the final running CRC. The resulting CRC should be transmitted in big endian order.