GNU Radio's LORA_SDR Package
deinterleaver_impl.h
Go to the documentation of this file.
1
#ifndef INCLUDED_LORA_DEINTERLEAVER_IMPL_H
2
#define INCLUDED_LORA_DEINTERLEAVER_IMPL_H
3
4
// #define GRLORA_DEBUG
5
#include <
gnuradio/lora_sdr/deinterleaver.h
>
6
7
namespace
gr
{
8
namespace
lora_sdr
{
9
10
class
deinterleaver_impl
:
public
deinterleaver
11
{
12
private
:
13
uint8_t m_sf;
///< Transmission Spreading factor
14
uint8_t m_cr;
///< Transmission Coding rate
15
uint8_t sf_app;
///< Spreading factor to use to deinterleave
16
uint8_t cw_len;
///< Length of a codeword
17
bool
m_is_header;
///< Indicate that we need to deinterleave the first block with the default header parameters (cr=4/8, reduced rate)
18
bool
m_soft_decoding;
///< Hard/Soft decoding
19
bool
m_ldro;
///< use low datarate optimization mode
20
21
public
:
22
deinterleaver_impl
(
bool
soft_decoding);
23
~deinterleaver_impl
();
24
25
void
forecast
(
int
noutput_items, gr_vector_int &ninput_items_required);
26
27
int
general_work
(
int
noutput_items,
28
gr_vector_int &ninput_items,
29
gr_vector_const_void_star &input_items,
30
gr_vector_void_star &output_items);
31
32
};
33
34
}
// namespace lora
35
}
// namespace gr
36
37
#endif
/* INCLUDED_LORA_DEINTERLEAVER_IMPL_H */
gr::lora_sdr::deinterleaver_impl::~deinterleaver_impl
~deinterleaver_impl()
gr::lora_sdr::deinterleaver_impl::general_work
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::lora_sdr::deinterleaver_impl::forecast
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
gr::lora_sdr::deinterleaver_impl::deinterleaver_impl
deinterleaver_impl(bool soft_decoding)
gr::lora_sdr::deinterleaver
<+description of block+>
Definition
deinterleaver.h:37
deinterleaver.h
gr::lora_sdr
Definition
add_crc.h:29
gr
Definition
add_crc.h:28
lib
deinterleaver_impl.h
Generated by
1.13.1