GNU Radio's LORA_SDR Package
hamming_dec_impl.h
Go to the documentation of this file.
1
#ifndef INCLUDED_LORA_hamming_dec_IMPL_H
2
#define INCLUDED_LORA_hamming_dec_IMPL_H
3
4
#include <
gnuradio/lora_sdr/hamming_dec.h
>
5
6
namespace
gr
{
7
namespace
lora_sdr
{
8
9
class
hamming_dec_impl
:
public
hamming_dec
10
{
11
private
:
12
uint8_t m_cr;
///< Transmission coding rate
13
uint8_t cr_app;
///< Coding rate use for the block
14
bool
is_header;
///< Indicate that it is the first block
15
bool
m_soft_decoding;
///< Hard/Soft decoding
16
17
public
:
18
hamming_dec_impl
(
bool
soft_decoding);
19
~hamming_dec_impl
();
20
21
int
work
(
22
int
noutput_items,
23
gr_vector_const_void_star &input_items,
24
gr_vector_void_star &output_items
25
);
26
};
27
28
}
// namespace lora
29
}
// namespace gr
30
31
#endif
/* INCLUDED_LORA_hamming_dec_IMPL_H */
gr::lora_sdr::hamming_dec_impl::~hamming_dec_impl
~hamming_dec_impl()
gr::lora_sdr::hamming_dec_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::lora_sdr::hamming_dec_impl::hamming_dec_impl
hamming_dec_impl(bool soft_decoding)
gr::lora_sdr::hamming_dec
<+description of block+>
Definition
hamming_dec.h:37
hamming_dec.h
gr::lora_sdr
Definition
add_crc.h:29
gr
Definition
add_crc.h:28
lib
hamming_dec_impl.h
Generated by
1.13.1