GNU Radio's SATNOGS Package
|
ARGOS Low Data Rate HDLC decoder. More...
#include <argos_ldr_decoder.h>
Public Types | |
using | sptr = std::shared_ptr< argos_ldr_decoder > |
Public Member Functions | |
argos_ldr_decoder (bool crc_check=true, size_t max_frame_len=64) | |
~argos_ldr_decoder () | |
decoder_status_t | decode (const void *in, int len) |
void | reset () |
![]() | |
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 decoder_status_t | decode (const void *in, int nitems)=0 |
virtual void | reset ()=0 |
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 sptr | make (bool crc_check=true, size_t max_frame_len=64) |
Additional Inherited Members | |
![]() | |
static int | base_unique_id |
![]() | |
void | incr_nitems_read (size_t nitems) |
uint64_t | nitems_read () const |
![]() | |
gr::logger_ptr | d_logger |
ARGOS Low Data Rate HDLC decoder.
using gr::satnogs::argos_ldr_decoder::sptr = std::shared_ptr<argos_ldr_decoder> |
The decoder take as input a quadrature demodulated bit stream. Each byte should contains only one bit of information at the LSB.
propagated
max_frame_len | the maximum allowed frame length |
gr::satnogs::argos_ldr_decoder::argos_ldr_decoder | ( | bool | crc_check = true , |
size_t | max_frame_len = 64 |
||
) |
The decoder take as input a quadrature demodulated bit stream. Each byte should contains only one bit of information at the LSB.
propagated
max_frame_len | the maximum allowed frame length |
gr::satnogs::argos_ldr_decoder::~argos_ldr_decoder | ( | ) |
|
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
in | the input items |
nitems | the number of input items contained in the in buffer |
Implements gr::satnogs::decoder.
|
static |
|
virtual |
Resets the internal state of the decoder to the initial defaults
Implements gr::satnogs::decoder.