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"
8namespace gr {
9namespace lora_sdr {
10
11class whitening_impl : public whitening {
12private:
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
18public:
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 */
Definition: whitening_impl.h:11
whitening_impl()
Construct a new whitening impl object.
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
~whitening_impl()
Destroy the whitening impl object.
Whiten the input data For more information about the implementation visit whitening_impl.
Definition: whitening.h:36
Definition: add_crc.h:28