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 
5 
6 namespace gr {
7  namespace lora_sdr {
8 
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);
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 */
Definition: hamming_dec_impl.h:10
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
hamming_dec_impl(bool soft_decoding)
<+description of block+>
Definition: hamming_dec.h:37
Definition: add_crc.h:28