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
16namespace gr {
17namespace lora_sdr {
18
19class hier_rx_impl : public hier_rx {
20private:
21 // Nothing to declare in this block.
22
23public:
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 */
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 */
Definition: hier_rx_impl.h:19
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.
~hier_rx_impl()
Destroy the hier rx impl object.
Wrapper block that hold the entire Rx chain : (frame_sync, fft_demod, gray_decode,...
Definition: hier_rx.h:27
Definition: add_crc.h:28