11#ifndef INCLUDED_LORA_SDR_FRAME_DETECTOR_SEQUENCE_IMPL_H
12#define INCLUDED_LORA_SDR_FRAME_DETECTOR_SEQUENCE_IMPL_H
32 enum State { FIND_PREAMBLE, SEND_BUFFER, SEND_PREAMBLE, SEND_FRAME, SEND_END_FRAME};
50 uint32_t m_samples_per_symbol;
62 std::vector<gr_complex> m_downchirp;
68 std::vector<gr_complex> m_dechirped;
74 std::vector<gr_complex> cx_out;
86 std::vector<float>::iterator m_max_it;
92 std::vector<float> m_dfts_mag;
116 std::vector<gr_complex> buffer;
128 double m_symbols_per_second;
134 uint32_t m_samp_rate;
162 int32_t get_symbol_val(
const gr_complex *input);
188 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
200 gr_vector_const_void_star &input_items,
201 gr_vector_void_star &output_items);
Definition: frame_detector_sequence_impl.h:22
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
Function to tell scheduler how many items we need.
~frame_detector_sequence_impl()
Destroy the frame detector sequence impl object.
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.
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.
LoRa frame detector sequence, this block detects a LoRa frames using a preamble detection to find the...
Definition: frame_detector_sequence.h:28
Definition: _kiss_fft_guts.h:22