GNU Radio 3.7.1 C++ API
gr::digital::crc32_bb Class Reference

Byte-stream CRC block. More...

#include <crc32_bb.h>

Inheritance diagram for gr::digital::crc32_bb:

List of all members.

Public Types

typedef boost::shared_ptr
< crc32_bb
sptr

Static Public Member Functions

static sptr make (bool check=false, const std::string &lengthtagname="packet_len")

Detailed Description

Byte-stream CRC block.

Input: stream of bytes, which form a packet. The first byte of the packet has a tag with key "length" and the value being the number of bytes in the packet.

Output: The same bytes as incoming, but trailing a CRC32 of the packet. The tag is re-set to the new length.


Member Typedef Documentation


Member Function Documentation

static sptr gr::digital::crc32_bb::make ( bool  check = false,
const std::string &  lengthtagname = "packet_len" 
) [static]
Parameters:
checkSet to true if you want to check CRC, false to create CRC.
lengthtagnameLength tag key

The documentation for this class was generated from the following file: