GNU Radio's LORA_SDR Package
hier_tx_impl.h
Go to the documentation of this file.
1/**
2 * @file hier_tx_impl.h
3 * @author your name (you@domain.com)
4 * @brief
5 * @version 0.1
6 * @date 2021-01-05
7 *
8 * @copyright Copyright (c) 2021
9 *
10 */
11#ifndef INCLUDED_LORA_SDR_HIER_TX_IMPL_H
12#define INCLUDED_LORA_SDR_HIER_TX_IMPL_H
13
14#include <lora_sdr/hier_tx.h>
15
16namespace gr {
17namespace lora_sdr {
18
19class hier_tx_impl : public hier_tx {
20private:
21 // Nothing to declare in this block.
22
23public:
24 /**
25 * @brief Construct a new hier tx impl::hier tx impl object
26 *
27 * @param pay_len : payload length
28 * @param n_frames : number of frames
29 * @param src_data : input data, if empty generate random input data
30 * @param cr : coding rate
31 * @param sf : spreading factor
32 * @param impl_head : impl_head mode (boolean on/off)
33 * @param has_crc : has_crc mode (boolean on/off)
34 * @param samp_rate : sampling rate
35 * @param bw : bandwith to use
36 * @param mean : mean time in ms
37 * @param sync_words : sync words to use
38 * @param create_zeros : whether multi control is enabled (aka should we wait for stopping if more chains are transmitting)
39 */
40 hier_tx_impl(int pay_len, int n_frames, std::string src_data,
41 uint8_t cr, uint8_t sf, bool impl_head, bool has_crc,
42 uint32_t samp_rate, uint32_t bw, uint32_t mean, std::vector<uint16_t> sync_words,
43 bool create_zeros);
45
46 // Where all the action really happens
47};
48
49} // namespace lora_sdr
50} // namespace gr
51
52#endif /* INCLUDED_LORA_SDR_HIER_TX_IMPL_H */
Definition: hier_tx_impl.h:19
hier_tx_impl(int pay_len, int n_frames, std::string src_data, uint8_t cr, uint8_t sf, bool impl_head, bool has_crc, uint32_t samp_rate, uint32_t bw, uint32_t mean, std::vector< uint16_t > sync_words, bool create_zeros)
Construct a new hier tx impl::hier tx impl object.
wrapper of Tx chain (data_source, whitening, add_header,add_crc, hamming_enc, interleaver,...
Definition: hier_tx.h:26
Definition: add_crc.h:28