21 #ifndef INCLUDED_SATNOGS_AX25_DECODER_H 22 #define INCLUDED_SATNOGS_AX25_DECODER_H 26 #include <gnuradio/digital/lfsr.h> 78 static decoder::decoder_sptr
79 make(
const std::string &addr, uint8_t ssid,
bool promisc =
false,
80 bool descramble =
true,
bool crc_check =
true,
81 size_t max_frame_len = 512);
104 ax25_decoder(
const std::string &addr, uint8_t ssid,
bool promisc =
false,
105 bool descramble =
true,
bool crc_check =
true,
106 size_t max_frame_len = 512);
111 decode(
const void *in,
int len);
118 NO_SYNC, IN_SYNC, DECODING
125 const bool d_promisc;
126 const bool d_descramble;
127 const bool d_crc_check;
128 const size_t d_max_frame_len;
129 decoding_state_t d_state;
130 uint32_t d_shift_reg;
132 uint8_t d_prev_bit_nrzi;
133 size_t d_received_bytes;
134 size_t d_decoded_bits;
135 digital::lfsr d_lfsr;
136 uint8_t *d_frame_buffer;
137 std::deque<uint8_t> d_bitstream;
139 uint64_t d_frame_start;
140 uint64_t d_sample_cnt;
147 enter_decoding_state();
155 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