20#ifndef INCLUDE_SATNOGS_USP_ENCODER_H
21#define INCLUDE_SATNOGS_USP_ENCODER_H
37 static encoder::encoder_sptr
make(
const std::vector<uint8_t>& preamble,
38 const std::vector<uint8_t>& sync,
43 const std::vector<uint8_t>& sync,
51 const size_t d_max_frame_len;
52 const size_t d_payload_start;
57 size_t final_pdu_length(
size_t len)
const;
#define SATNOGS_API
Definition: api.h:19
Definition: conv_encoder.h:36
Abstract class defining the API of the SatNOGS Encoders.
Definition: encoder.h:44
Unified SPUTNIX protocol (USP) frame encoder definition.
Definition: usp_encoder.h:35
static encoder::encoder_sptr make(const std::vector< uint8_t > &preamble, const std::vector< uint8_t > &sync, uint8_t pls_code, whitening::sptr scrambler)
usp_encoder(const std::vector< uint8_t > &preamble, const std::vector< uint8_t > &sync, uint8_t pls_code, whitening::sptr scrambler)
pmt::pmt_t encode(pmt::pmt_t msg)
std::shared_ptr< whitening > sptr
Definition: whitening.h:42
Definition: amsat_duv_decoder.h:29