GNU Radio 3.7.1 C++ API
Packet/Frame Operators
Collaboration diagram for Packet/Frame Operators:

Classes

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_tag_bb
 Examine input for specified access code, one bit at a time. 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_payload_demux
 Header/Payload demuxer. 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::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

Function Documentation

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.