21 #ifndef INCLUDED_SATNOGS_AX100_MODE5_H
22 #define INCLUDED_SATNOGS_AX100_MODE5_H
40 make(
const std::vector<uint8_t> &preamble,
41 size_t preamble_threshold,
42 const std::vector<uint8_t> &sync,
43 size_t sync_threshold,
45 whitening::whitening_sptr descrambler,
49 size_t preamble_threshold,
50 const std::vector<uint8_t> &sync,
51 size_t sync_threshold,
53 whitening::whitening_sptr descrambler,
79 const size_t d_preamble_len;
80 const size_t d_preamble_thrsh;
83 const size_t d_sync_len;
84 const size_t d_sync_thrsh;
86 whitening::whitening_sptr d_descrambler;
88 decoding_state_t d_state;
91 size_t d_length_field_len;
93 uint64_t d_frame_start;
96 search_preamble(
const uint8_t *in,
int len);
99 search_sync(
const uint8_t *in,
int len);
102 decode_frame_len(
const uint8_t *in,
int len);
#define SATNOGS_API
Definition: api.h:30
This decode implements the AX100 mode 5 scheme.
Definition: ax100_mode5.h:37
decoder_status_t decode(const void *in, int len)
ax100_mode5(const std::vector< uint8_t > &preamble, size_t preamble_threshold, const std::vector< uint8_t > &sync, size_t sync_threshold, crc::crc_t crc, whitening::whitening_sptr descrambler, bool enable_rs)
size_t input_multiple() const
static decoder_sptr make(const std::vector< uint8_t > &preamble, size_t preamble_threshold, const std::vector< uint8_t > &sync, size_t sync_threshold, crc::crc_t crc, whitening::whitening_sptr descrambler, bool enable_rs)
enum gr::satnogs::crc::crc_type crc_t
Abstract class that provided the API for the c decoders.
Definition: decoder.h:69
Implements a bit shift register.
Definition: shift_reg.h:35
class decoder_status decoder_status_t
Definition: decoder.h:55
Definition: amsat_duv_decoder.h:29