GNU Radio's LORA_SDR Package
gr::lora_sdr::fft_demod_impl Class Reference

#include <fft_demod_impl.h>

Inheritance diagram for gr::lora_sdr::fft_demod_impl:
[legend]

Public Member Functions

 fft_demod_impl (float samp_rate, uint32_t bandwidth, uint8_t sf, bool impl_head)
 Construct a new fft demod impl object.
 
 ~fft_demod_impl ()
 Destroy the fft demod impl object.
 
void forecast (int noutput_items, gr_vector_int &ninput_items_required)
 Standard gnuradio function to tell the system how many input and output items are needed.
 
int general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 Main function where the actual computation is done.
 

Additional Inherited Members

- Public Types inherited from gr::lora_sdr::fft_demod
typedef std::shared_ptr< fft_demodsptr
 
- Static Public Member Functions inherited from gr::lora_sdr::fft_demod
static sptr make (float samp_rate, uint32_t bandwidth, uint8_t sf, bool impl_head)
 Return a shared_ptr to a new instance of lora_sdr::fft_demod.
 

Constructor & Destructor Documentation

◆ fft_demod_impl()

gr::lora_sdr::fft_demod_impl::fft_demod_impl ( float  samp_rate,
uint32_t  bandwidth,
uint8_t  sf,
bool  impl_head 
)

Construct a new fft demod impl object.

Parameters
samp_rate: sampling rate
bandwidth: bandwith
sf: spreading factor
impl_head: impl_head mode

◆ ~fft_demod_impl()

gr::lora_sdr::fft_demod_impl::~fft_demod_impl ( )

Destroy the fft demod impl object.

Member Function Documentation

◆ forecast()

void gr::lora_sdr::fft_demod_impl::forecast ( int  noutput_items,
gr_vector_int &  ninput_items_required 
)

Standard gnuradio function to tell the system how many input and output items are needed.

Parameters
noutput_items: number of output items
ninput_items_required: number of output items required

◆ general_work()

int gr::lora_sdr::fft_demod_impl::general_work ( int  noutput_items,
gr_vector_int &  ninput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

Main function where the actual computation is done.

Parameters
noutput_items: number of output items to produce
ninput_items: number of input items
input_items: input item (i.e. output of the frame sync stage)
output_items: output data
Returns
int

The documentation for this class was generated from the following file: