ARGOS Low Data Rate HDLC decoder.
More...
#include <argos_ldr_decoder.h>
ARGOS Low Data Rate HDLC decoder.
◆ argos_ldr_decoder()
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
- Parameters
-
max_frame_len | the maximum allowed frame length |
- Returns
- a shared pointer of the decoder instance
◆ ~argos_ldr_decoder()
gr::satnogs::argos_ldr_decoder::~argos_ldr_decoder |
( |
| ) |
|
◆ decode()
decoder_status_t gr::satnogs::argos_ldr_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
-
in | the input items |
nitems | the 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::argos_ldr_decoder::make |
( |
bool |
crc_check = true , |
|
|
size_t |
max_frame_len = 64 |
|
) |
| |
|
static |
The decoder take as input a quadrature demodulated bit stream. Each byte should contains only one bit of information at the LSB.
propagated
- Parameters
-
max_frame_len | the maximum allowed frame length |
- Returns
- a shared pointer of the decoder instance
◆ reset()
void gr::satnogs::argos_ldr_decoder::reset |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: