#include <frame_detector_threshold_impl.h>
|
| frame_detector_threshold_impl (uint8_t sf, uint32_t samp_rate, uint32_t bw, float threshold) |
| Construct a new frame detector impl object.
|
|
| ~frame_detector_threshold_impl () |
| Destroy the frame 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) |
| General work function. Main gnuradio function that does the heavy lifting.
|
|
◆ frame_detector_threshold_impl()
gr::lora_sdr::frame_detector_threshold_impl::frame_detector_threshold_impl |
( |
uint8_t |
sf, |
|
|
uint32_t |
samp_rate, |
|
|
uint32_t |
bw, |
|
|
float |
threshold |
|
) |
| |
Construct a new frame detector impl object.
- Parameters
-
samp_rate | : sampling rate |
bandwidth | : bandwith |
sf | : spreading factor |
threshold | : threshold value to use |
◆ ~frame_detector_threshold_impl()
gr::lora_sdr::frame_detector_threshold_impl::~frame_detector_threshold_impl |
( |
| ) |
|
Destroy the frame detector impl object.
◆ forecast()
void gr::lora_sdr::frame_detector_threshold_impl::forecast |
( |
int |
noutput_items, |
|
|
gr_vector_int & |
ninput_items_required |
|
) |
| |
- Parameters
-
noutput_items | : number of output items |
ninput_items_required | : required input items (how many items must we have for we can do something) |
◆ general_work()
int gr::lora_sdr::frame_detector_threshold_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 work function. Main gnuradio function that does the heavy lifting.
- 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: