21 #ifndef INCLUDED_SATNOGS_FRAME_ACQUISITION_IMPL_H 22 #define INCLUDED_SATNOGS_FRAME_ACQUISITION_IMPL_H 34 const std::vector<uint8_t> &preamble,
35 size_t preamble_threshold,
36 const std::vector<uint8_t> &sync,
37 size_t sync_threshold,
38 size_t frame_size_field_len,
41 whitening::whitening_sptr descrambler,
42 size_t max_frame_len);
48 work(
int noutput_items, gr_vector_const_void_star &input_items,
49 gr_vector_void_star &output_items);
58 DECODING_GENERIC_FRAME_LEN,
59 DECODING_GOLAY24_FRAME_LEN,
66 const size_t d_preamble_len;
67 const size_t d_preamble_thrsh;
70 const size_t d_sync_len;
71 const size_t d_sync_thrsh;
72 decoding_state_t d_state;
74 uint32_t d_frame_size_field_len;
76 const uint32_t d_max_frame_len;
79 whitening::whitening_sptr d_whitening;
84 searching_preamble(
const uint8_t *in,
int len);
87 searching_sync(
const uint8_t *in,
int len);
89 int dec_generic_frame_len(
const uint8_t *in,
int len);
92 int dec_golay24_frame_len(
const uint8_t *in,
int len);
95 decoding(
const uint8_t *in,
int len);
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Definition: frame_acquisition_impl.h:30
A generic frame acquisition block.
Definition: frame_acquisition.h:61
variant_t
Definition: frame_acquisition.h:68
Implements a bit shift register.
Definition: shift_reg.h:35
Definition: amsat_duv_decoder.h:29
checksum_t
Definition: frame_acquisition.h:74
~frame_acquisition_impl()
frame_acquisition_impl(variant_t variant, const std::vector< uint8_t > &preamble, size_t preamble_threshold, const std::vector< uint8_t > &sync, size_t sync_threshold, size_t frame_size_field_len, size_t frame_len, checksum_t crc, whitening::whitening_sptr descrambler, size_t max_frame_len)