GNU Radio's LORA_SDR Package
gray_enc_impl.h
Go to the documentation of this file.
1#ifndef INCLUDED_LORA_GRAY_ENC_IMPL_H
2#define INCLUDED_LORA_GRAY_ENC_IMPL_H
3// #define GRLORA_DEBUG
4#include <lora_sdr/gray_enc.h>
5
6namespace gr {
7namespace lora_sdr {
8
9class gray_enc_impl : public gray_enc {
10public:
11 /**
12 * @brief Construct a new gray enc impl object
13 *
14 */
16
17 /**
18 * @brief Destroy the gray enc impl object
19 *
20 */
22
23 /**
24 * @brief Main function where the actual computation happens
25 *
26 * @param noutput_items : number of input items
27 * @param input_items : input item (i.e. output data from the interleaving stage)
28 * @param output_items : output data
29 * @return int
30 */
31 int work(int noutput_items, gr_vector_const_void_star &input_items,
32 gr_vector_void_star &output_items);
33};
34} // namespace lora_sdr
35} // namespace gr
36
37#endif /* INCLUDED_LORA_GRAY_ENC_IMPL_H */
Definition: gray_enc_impl.h:9
gray_enc_impl()
Construct a new gray enc impl object.
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Main function where the actual computation happens.
~gray_enc_impl()
Destroy the gray enc impl object.
Modulate the payload with an Gray map. This ensures that bits are modulated such that two subsequent ...
Definition: gray_enc.h:39
Definition: add_crc.h:28