GNU Radio's SATELLITES Package
gr::satellites::nanocom_golay_decode_length Class Reference

Decodes Golay field in NanoCom packets and adds a length tag. More...

#include <nanocom_golay_decode_length.h>

Inheritance diagram for gr::satellites::nanocom_golay_decode_length:
gr::satellites::nanocom_golay_decode_length_impl

Public Types

typedef std::shared_ptr< nanocom_golay_decode_lengthsptr
 

Static Public Member Functions

static sptr make (const std::string &golay_start_tag_key, const std::string &length_tag_key)
 Build the NanoCom Golay Decode Length block. More...
 

Detailed Description

Decodes Golay field in NanoCom packets and adds a length tag.

This block acts as a sync block on a stream of unpacked bits. Whenever a tag marking the start of a Golay field is found, the block reads the 24 bits following the tag, attempts to perform Golay decoding, and if successful extracts the length field, computes the length in bits of the packet including the Golay field, and adds a tag with this length to the beginning of the Golay field so that the whole packet can be extracted as a PDU using this length tag.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::satellites::nanocom_golay_decode_length::make ( const std::string &  golay_start_tag_key,
const std::string &  length_tag_key 
)
static

Build the NanoCom Golay Decode Length block.

Parameters
golay_start_tag_keyKey of the tag marking the start of Golay fields
length_tag_keyKey of the tag indicating the packet length

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