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

#include <signal_detector_impl.h>

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

Public Member Functions

 signal_detector_impl (uint8_t sf, uint8_t os_factor, double threshold, int margin, int fft_symb, int transp_len)
 Construct a new signal detector impl object.
 
 ~signal_detector_impl ()
 Destroy the signal detector impl object.
 
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)
 

Additional Inherited Members

- Public Types inherited from gr::lora_sdr::signal_detector
typedef std::shared_ptr< signal_detectorsptr
 
- Static Public Member Functions inherited from gr::lora_sdr::signal_detector
static sptr make (uint8_t sf, uint8_t os_factor, double threshold, int margin, int fft_symb, int transp_len)
 This block becomes transparent after detecting a LoRa preamble at his input.
 

Constructor & Destructor Documentation

◆ signal_detector_impl()

gr::lora_sdr::signal_detector_impl::signal_detector_impl ( uint8_t  sf,
uint8_t  os_factor,
double  threshold,
int  margin,
int  fft_symb,
int  transp_len 
)

Construct a new signal detector impl object.

Parameters
sf
os_factor
threshold
margin
fft_symb
transp_len

◆ ~signal_detector_impl()

gr::lora_sdr::signal_detector_impl::~signal_detector_impl ( )

Destroy the signal detector impl object.

Member Function Documentation

◆ forecast()

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

◆ general_work()

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

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