21 #ifndef INCLUDED_SATNOGS_AX25_DECODER_H 22 #define INCLUDED_SATNOGS_AX25_DECODER_H 26 #include <gnuradio/digital/lfsr.h> 79 static decoder::decoder_sptr
80 make(
const std::string &addr, uint8_t ssid,
bool promisc =
false,
81 bool descramble =
true,
bool crc_check =
true,
82 size_t max_frame_len = 512,
83 bool error_correction =
false);
107 ax25_decoder(
const std::string &addr, uint8_t ssid,
bool promisc =
false,
108 bool descramble =
true,
bool crc_check =
true,
109 size_t max_frame_len = 512,
110 bool error_correction =
false);
115 decode(
const void *in,
int len);
122 NO_SYNC, IN_SYNC, DECODING
129 const bool d_promisc;
130 const bool d_descramble;
131 const bool d_crc_check;
132 const size_t d_max_frame_len;
133 const bool d_error_correction;
134 decoding_state_t d_state;
137 uint8_t d_prev_bit_nrzi;
138 size_t d_received_bytes;
139 size_t d_decoded_bits;
140 digital::lfsr d_lfsr;
141 uint8_t *d_frame_buffer;
142 std::deque<uint8_t> d_bitstream;
144 uint64_t d_frame_start;
145 uint64_t d_sample_cnt;
152 enter_decoding_state();
160 decode_1b(uint8_t in);
AX.25 decoder that supports the legacy hardware radios.
Definition: ax25_decoder.h:53
Abstract class that provided the API for the c decoders.
Definition: decoder.h:69
Definition: amsat_duv_decoder.h:29
class decoder_status decoder_status_t
Definition: decoder.h:55
#define SATNOGS_API
Definition: api.h:30