GNU Radio's LORA_SDR Package
RH_RF95_header_impl.h
Go to the documentation of this file.
1 #ifndef INCLUDED_LORA_SDR_RH_RF95_HEADER_IMPL_H
2 #define INCLUDED_LORA_SDR_RH_RF95_HEADER_IMPL_H
3 
5 
6 namespace gr {
7  namespace lora_sdr {
8 
10  {
11  private:
12  char m_to; ///< radiohead specific header field "to"
13  char m_from; ///< radiohead specific header field "from"
14  char m_id; ///< radiohead specific header field "id"
15  char m_flags; ///< radiohead specific header field "flags"
16  std::vector<uint8_t> m_payload; ///<payload bytes
17  void msg_handler(pmt::pmt_t message);
18 
19 
20  public:
21  RH_RF95_header_impl(uint8_t _to, uint8_t _from, uint8_t _id, uint8_t _flags);
23 
24  // Where all the action really happens
25  void forecast (int noutput_items, gr_vector_int &ninput_items_required);
26 
27  int general_work(int noutput_items,
28  gr_vector_int &ninput_items,
29  gr_vector_const_void_star &input_items,
30  gr_vector_void_star &output_items);
31  };
32 
33  } // namespace lora_sdr
34 } // namespace gr
35 
36 #endif /* INCLUDED_LORA_SDR_RH_RF95_HEADER_IMPL_H */
Definition: RH_RF95_header_impl.h:10
RH_RF95_header_impl(uint8_t _to, uint8_t _from, uint8_t _id, uint8_t _flags)
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
<+description of block+>
Definition: RH_RF95_header.h:37
Definition: add_crc.h:28