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

#include <frame_detector_sequence_impl.h>

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

Public Member Functions

 frame_detector_sequence_impl (uint8_t sf, uint32_t samp_rate, uint32_t bw, uint8_t n_seq)
 Construct a new frame detector sequence impl object.
 
 ~frame_detector_sequence_impl ()
 Destroy the frame detector sequence impl object.
 
void forecast (int noutput_items, gr_vector_int &ninput_items_required)
 Function to tell scheduler how many items we need.
 
int general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 General function where all the stuff happens.
 

Additional Inherited Members

- Public Types inherited from gr::lora_sdr::frame_detector_sequence
typedef std::shared_ptr< frame_detector_sequencesptr
 
- Static Public Member Functions inherited from gr::lora_sdr::frame_detector_sequence
static sptr make (uint8_t sf, uint32_t samp_rate, uint32_t bw, uint8_t n_seq)
 Return a shared_ptr to a new instance of lora_sdr::frame_detector_sequence.
 

Constructor & Destructor Documentation

◆ frame_detector_sequence_impl()

gr::lora_sdr::frame_detector_sequence_impl::frame_detector_sequence_impl ( uint8_t  sf,
uint32_t  samp_rate,
uint32_t  bw,
uint8_t  n_seq 
)

Construct a new frame detector sequence impl object.

Parameters
sf: spreading factor
samp_rate: sampling rate
bw: bandwith
n_seq: number of consecitive symbols for the end

◆ ~frame_detector_sequence_impl()

gr::lora_sdr::frame_detector_sequence_impl::~frame_detector_sequence_impl ( )

Destroy the frame detector sequence impl object.

Member Function Documentation

◆ forecast()

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

Function to tell scheduler how many items we need.

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

◆ general_work()

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

General function where all the stuff happens.

Parameters
noutput_items: number of output items
ninput_items: number of input items
input_items: input items
output_items: output items
Returns
int

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