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

AMSAT 8b10b + CCSDS RS DUV decoder. More...

#include <amsat_duv_decoder.h>

Inheritance diagram for gr::satnogs::amsat_duv_decoder:
gr::satnogs::decoder

Public Member Functions

 amsat_duv_decoder (const std::string &control_symbol, size_t max_frame_len)
 
 ~amsat_duv_decoder ()
 
decoder_status_t decode (const void *in, int len)
 
void reset ()
 
- Public Member Functions inherited from gr::satnogs::decoder
int unique_id () const
 
 decoder (const std::string &name, const std::string &version, int input_item_size, size_t max_frame_len=8192)
 
virtual ~decoder ()
 
virtual size_t input_multiple () const
 
size_t max_frame_len () const
 
int sizeof_input_item () const
 
std::string name () const
 
std::string version () const
 

Static Public Member Functions

static decoder::decoder_sptr make (const std::string &control_symbol, size_t max_frame_len=96)
 

Static Public Attributes

static const size_t amsat_fox_duv_frame_size
 
static const uint8_t amsat_fox_spacecraft_id []
 
- Static Public Attributes inherited from gr::satnogs::decoder
static int base_unique_id
 

Additional Inherited Members

- Protected Member Functions inherited from gr::satnogs::decoder
void incr_nitems_read (size_t nitems)
 
uint64_t nitems_read () const
 

Detailed Description

AMSAT 8b10b + CCSDS RS DUV decoder.

Constructor & Destructor Documentation

◆ amsat_duv_decoder()

gr::satnogs::amsat_duv_decoder::amsat_duv_decoder ( const std::string &  control_symbol,
size_t  max_frame_len 
)

◆ ~amsat_duv_decoder()

gr::satnogs::amsat_duv_decoder::~amsat_duv_decoder ( )

Member Function Documentation

◆ decode()

decoder_status_t gr::satnogs::amsat_duv_decoder::decode ( const void *  in,
int  nitems 
)
virtual

Decodes a buffer of input items contained in the in buffer. This method is called continuously by the frame_decoder. Based on the returned status data, the frame_decoder() instructs properly the GNU Radio scheduler and/or propagates decoded data.

As the number of input items may not enough to decode a frame, each decoder should keep internal state, so decoding can be accomplished after an arbitrary number of calls to this method

Parameters
inthe input items
nitemsthe number of input items contained in the in buffer
Returns
the status of the decoder after the call of this method. For more information refer to decoder_status()

Implements gr::satnogs::decoder.

◆ make()

static decoder::decoder_sptr gr::satnogs::amsat_duv_decoder::make ( const std::string &  control_symbol,
size_t  max_frame_len = 96 
)
static

◆ reset()

void gr::satnogs::amsat_duv_decoder::reset ( )
virtual

Resets the internal state of the decoder to the initial defaults

Implements gr::satnogs::decoder.

Member Data Documentation

◆ amsat_fox_duv_frame_size

const size_t gr::satnogs::amsat_duv_decoder::amsat_fox_duv_frame_size
static

◆ amsat_fox_spacecraft_id

const uint8_t gr::satnogs::amsat_duv_decoder::amsat_fox_spacecraft_id[]
static

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