|
GNU Radio's SATELLITES Package
|
Decodes Golay field in NanoCom packets and adds a length tag. More...
#include <nanocom_golay_decode_length.h>
Public Types | |
| typedef std::shared_ptr< nanocom_golay_decode_length > | sptr |
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... | |
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.
| typedef std::shared_ptr<nanocom_golay_decode_length> gr::satellites::nanocom_golay_decode_length::sptr |
|
static |
Build the NanoCom Golay Decode Length block.
| golay_start_tag_key | Key of the tag marking the start of Golay fields |
| length_tag_key | Key of the tag indicating the packet length |