21 #ifndef INCLUDED_SATNOGS_AX100_MODE5_ENCODER_H
22 #define INCLUDED_SATNOGS_AX100_MODE5_ENCODER_H
40 static encoder::encoder_sptr
41 make(
const std::vector<uint8_t> &preamble,
42 const std::vector<uint8_t> &sync,
47 const std::vector<uint8_t> &sync,
58 size_t d_payload_start;
62 write_16bits(uint16_t u16,
size_t ind);
65 write_24bits(uint32_t u32,
size_t ind);
68 add_crc(
const uint8_t *pdu,
size_t pdu_len,
size_t ind);
#define SATNOGS_API
Definition: api.h:30
This encoder implements the AX100 mode 5 framing and coding scheme.
Definition: ax100_mode5_encoder.h:38
static encoder::encoder_sptr make(const std::vector< uint8_t > &preamble, const std::vector< uint8_t > &sync, crc::crc_t crc, bool enable_rs)
ax100_mode5_encoder(const std::vector< uint8_t > &preamble, const std::vector< uint8_t > &sync, crc::crc_t crc, bool enable_rs)
pmt::pmt_t encode(pmt::pmt_t msg)
enum gr::satnogs::crc::crc_type crc_t
Abstract class defining the API of the SatNOGS Encoders.
Definition: encoder.h:43
Definition: amsat_duv_decoder.h:29