GNU Radio's LORA_SDR Package
gray_decode_impl.h
Go to the documentation of this file.
1#ifndef INCLUDED_LORA_GRAY_DECODE_IMPL_H
2#define INCLUDED_LORA_GRAY_DECODE_IMPL_H
3
4
6
7namespace gr {
8 namespace lora_sdr {
9
11 {
12 private:
13 /**
14 * @brief Spreading factor used
15 *
16 */
17 uint8_t m_sf;
18
19 public:
20 /**
21 * @brief Construct a new gray decode impl object
22 *
23 * @param sf Spreading factor used
24 */
25 gray_decode_impl(uint8_t sf);
26
27 /**
28 * @brief Destroy the gray decode impl object
29 *
30 */
32
33 /**
34 * @brief
35 *
36 * @param noutput_items
37 * @param input_items
38 * @param output_items
39 * @return int
40 */
41 int work(
42 int noutput_items,
43 gr_vector_const_void_star &input_items,
44 gr_vector_void_star &output_items
45 );
46 };
47 } // namespace lora
48} // namespace gr
49
50#endif /* INCLUDED_LORA_GRAY_DECODE_IMPL_H */
Definition: gray_decode_impl.h:11
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
~gray_decode_impl()
Destroy the gray decode impl object.
gray_decode_impl(uint8_t sf)
Construct a new gray decode impl object.
Decode the received payload with the inverse gray mapping in order to obtain the send message....
Definition: gray_decode.h:38
Definition: add_crc.h:28