21#ifndef INCLUDED_LORA_SDR_MU_SYNCHRO_IMPL_H
22#define INCLUDED_LORA_SDR_MU_SYNCHRO_IMPL_H
57 enum Detection_cases {
92 int m_item_to_consume;
108 void add_tag(
double power1,
double power2,
long win_len,
Symbol_type Tu,
131 std::tuple<int, int, int> sync_frame(
const gr_complex *in, gr_complex *out,
132 uint32_t *state_out,
int offset,
156 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
168 gr_vector_const_void_star &input_items,
169 gr_vector_void_star &output_items);
Definition: mu_synchro_impl.h:47
mu_synchro_impl(uint8_t sf, uint8_t os_factor, uint32_t len)
Construct a new mu synchro impl object.
~mu_synchro_impl()
Destroy the mu synchro 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)
Definition: mu_synchro.h:36
Symbol_type
Permitted symbol types.
Definition: mu_synchro_impl.h:35
@ PAYLOAD
Definition: mu_synchro_impl.h:41
@ QUARTER_DOWN
Definition: mu_synchro_impl.h:40
@ DOWNCHIRP
Definition: mu_synchro_impl.h:39
@ UPCHIRP
Definition: mu_synchro_impl.h:37
@ SYNC_WORD
Definition: mu_synchro_impl.h:38
@ VOID
Definition: mu_synchro_impl.h:36
@ UNDETERMINED
Definition: mu_synchro_impl.h:42