GNU Radio's LORA_SDR Package
hier_rx_impl.h
Go to the documentation of this file.
1 /**
2  * @file hier_rx_impl.h
3  * @author Martyn van Dijke (martijnvdijke600@gmail.com)
4  * @brief
5  * @version 0.1
6  * @date 2021-01-15
7  *
8  *
9  */
10 
11 #ifndef INCLUDED_LORA_SDR_HIER_RX_IMPL_H
12 #define INCLUDED_LORA_SDR_HIER_RX_IMPL_H
13 
14 #include <lora_sdr/hier_rx.h>
15 
16 namespace gr {
17 namespace lora_sdr {
18 
19 class hier_rx_impl : public hier_rx {
20 private:
21  // Nothing to declare in this block.
22 
23 public:
24  /**
25  * @brief Construct a new hier rx impl object
26  *
27  * @param samp_rate : sampling rate to use
28  * @param bandwidth : bandwith to use
29  * @param sf : spreading factor to use
30  * @param impl_head : impl_head mode (boolean)
31  * @param cr : coding rate
32  * @param pay_len : payload length
33  * @param has_crc : has_crc (boolean)
34  * @param sync_words : syncwords to use
35  * @param exit : boolean to tell system what to do on done signal (exit or not)
36  */
37  hier_rx_impl(float samp_rate, uint32_t bandwidth, uint8_t sf,
38  bool impl_head, uint8_t cr, uint32_t pay_len,
39  bool has_crc, std::vector<uint16_t> sync_words, bool exit);
40  /**
41  * @brief Destroy the hier rx impl object
42  *
43  */
44  ~hier_rx_impl();
45 
46  // Where all the action really happens
47 };
48 
49 } // namespace lora_sdr
50 } // namespace gr
51 
52 #endif /* INCLUDED_LORA_SDR_HIER_RX_IMPL_H */
gr::lora_sdr::hier_rx_impl::hier_rx_impl
hier_rx_impl(float samp_rate, uint32_t bandwidth, uint8_t sf, bool impl_head, uint8_t cr, uint32_t pay_len, bool has_crc, std::vector< uint16_t > sync_words, bool exit)
Construct a new hier rx impl object.
gr::lora_sdr::hier_rx_impl::~hier_rx_impl
~hier_rx_impl()
Destroy the hier rx impl object.
gr::lora_sdr::hier_rx_impl
Definition: hier_rx_impl.h:19
gr
Definition: add_crc.h:28
hier_rx.h
gr::lora_sdr::hier_rx
Wrapper block that hold the entire Rx chain : (frame_sync, fft_demod, gray_decode,...
Definition: hier_rx.h:27