GNU Radio's SATNOGS Package
gr::satnogs::crc_async Class Reference

An extended version of the CRC Async block of GNU Radio, supporting a wide range of different CRCs via the CRCpp. More...

#include <crc_async.h>

Inheritance diagram for gr::satnogs::crc_async:
gr::satnogs::crc_async_impl

Public Types

using sptr = std::shared_ptr< crc_async >
 

Static Public Member Functions

template<typename CRCType , crcpp_uint16 CRCWidth>
static sptr make (const CRC::Parameters< CRCType, CRCWidth > &crc, bool check=false, bool nbo=true)
 Creates a CRC check/append block. More...
 
static sptr make (crc::type crc, bool check=false, bool nbo=true)
 Creates a CRC check/append block. More...
 

Detailed Description

An extended version of the CRC Async block of GNU Radio, supporting a wide range of different CRCs via the CRCpp.

Member Typedef Documentation

◆ sptr

using gr::satnogs::crc_async::sptr = std::shared_ptr<crc_async>

Member Function Documentation

◆ make() [1/2]

template<typename CRCType , crcpp_uint16 CRCWidth>
static sptr gr::satnogs::crc_async::make ( const CRC::Parameters< CRCType, CRCWidth > &  crc,
bool  check = false,
bool  nbo = true 
)
static

Creates a CRC check/append block.

Template Parameters
CRCTypethe CRC datatyoe
CRCWidththe CRC Width in bits. Currently only lengths multiple of 8 bits are supported
Parameters
crcthe CRC parameters
checktrue if the block should check for the CRC, false if the block should append the CRC
nbotrue if the CRC should be appended in Network Byte Order (big endian), false for little endian
Returns
sptr a shared pointer to the block instance

◆ make() [2/2]

static sptr gr::satnogs::crc_async::make ( crc::type  crc,
bool  check = false,
bool  nbo = true 
)
static

Creates a CRC check/append block.

Parameters
crcthe CRC type
checktrue if the block should check for the CRC, false if the block should append the CRC
nbotrue if the CRC should be appended in Network Byte Order (big endian), false for little endian
Returns
sptr a shared pointer to the block instance

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