#include <header_impl.h>
|
| header_impl (bool impl_head, bool has_crc, uint8_t cr) |
| Construct a new header impl object.
|
|
| ~header_impl () |
| Destroy the header impl object.
|
|
void | forecast (int noutput_items, gr_vector_int &ninput_items_required) |
| Gnuradio forecast function which tells the gnuradio system how many items are needed before it can continue to the work function.
|
|
int | general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| Main function where the actual computation is done. If impl_head is set to true the output will be the payload added with an header.
|
|
◆ header_impl()
gr::lora_sdr::header_impl::header_impl |
( |
bool |
impl_head, |
|
|
bool |
has_crc, |
|
|
uint8_t |
cr |
|
) |
| |
Construct a new header impl object.
- Parameters
-
impl_head | boolean variable to indicate implicit header mode is used |
has_crc | boolean variable to indicate the presence of a payload crc |
cr | Transmission coding rate |
◆ ~header_impl()
gr::lora_sdr::header_impl::~header_impl |
( |
| ) |
|
Destroy the header impl object.
◆ forecast()
void gr::lora_sdr::header_impl::forecast |
( |
int |
noutput_items, |
|
|
gr_vector_int & |
ninput_items_required |
|
) |
| |
Gnuradio forecast function which tells the gnuradio system how many items are needed before it can continue to the work function.
- Parameters
-
noutput_items | : number of output items |
ninput_items_required | : number of required output items before |
◆ general_work()
int gr::lora_sdr::header_impl::general_work |
( |
int |
noutput_items, |
|
|
gr_vector_int & |
ninput_items, |
|
|
gr_vector_const_void_star & |
input_items, |
|
|
gr_vector_void_star & |
output_items |
|
) |
| |
Main function where the actual computation is done. If impl_head is set to true the output will be the payload added with an header.
- Parameters
-
noutput_items | : number of ouput items |
ninput_items | : number of input items |
input_items | : input items (output of whitening stage) |
output_items | : output items (added header if applicable) |
- Returns
- int
The documentation for this class was generated from the following file: