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
5
#include <
lora_sdr/gray_decode.h
>
6
7
namespace
gr
{
8
namespace
lora_sdr {
9
10
class
gray_decode_impl
:
public
gray_decode
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
*/
31
~gray_decode_impl
();
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 */
gr::lora_sdr::gray_decode_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::lora_sdr::gray_decode_impl
Definition:
gray_decode_impl.h:10
gr::lora_sdr::gray_decode_impl::gray_decode_impl
gray_decode_impl(uint8_t sf)
Construct a new gray decode impl object.
gray_decode.h
gr::lora_sdr::gray_decode
Decode the received payload with the inverse gray mapping in order to obtain the send message....
Definition:
gray_decode.h:37
gr
Definition:
add_crc.h:28
gr::lora_sdr::gray_decode_impl::~gray_decode_impl
~gray_decode_impl()
Destroy the gray decode impl object.
gr-lora_sdr
lib
gray_decode_impl.h
Generated by
1.8.17