GNU Radio's LORA_SDR Package
whitening_impl.h
Go to the documentation of this file.
1 
2 
3 #ifndef INCLUDED_LORA_WHITENING_IMPL_H
4 #define INCLUDED_LORA_WHITENING_IMPL_H
5 
6 #include "helpers.h"
7 #include <lora_sdr/whitening.h>
8 namespace gr {
9 namespace lora_sdr {
10 
11 class whitening_impl : public whitening {
12 private:
13  bool new_message; ///< indicate that a new message has to be whitened
14  std::vector<uint8_t> m_payload; ///< store the payload bytes
15  std::vector<std::string> payload_str;
16  void msg_handler(pmt::pmt_t message);
17 
18 public:
19  /**
20  * @brief Construct a new whitening impl object
21  *
22  */
24  /**
25  * @brief Destroy the whitening impl object
26  *
27  */
29 
30  /**
31  * @brief
32  *
33  * @param noutput_items
34  * @param input_items
35  * @param output_items
36  * @return int
37  */
38  int work(int noutput_items, gr_vector_const_void_star &input_items,
39  gr_vector_void_star &output_items);
40 };
41 } // namespace lora_sdr
42 } // namespace gr
43 
44 #endif /* INCLUDED_LORA_WHITENING_IMPL_H */
gr::lora_sdr::whitening_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::lora_sdr::whitening_impl::~whitening_impl
~whitening_impl()
Destroy the whitening impl object.
helpers.h
gr::lora_sdr::whitening_impl
Definition: whitening_impl.h:11
gr::lora_sdr::whitening_impl::whitening_impl
whitening_impl()
Construct a new whitening impl object.
whitening.h
gr
Definition: add_crc.h:28
gr::lora_sdr::whitening
Whiten the input data For more information about the implementation visit whitening_impl.
Definition: whitening.h:36