24#ifndef INCLUDED_SATNOGS_IEEE802_15_4_ENCODER_H
25#define INCLUDED_SATNOGS_IEEE802_15_4_ENCODER_H
42 using sptr = std::shared_ptr<ieee802_15_4_encoder>;
45 size_t length_field_bytes,
46 const std::vector<uint8_t>& sync_word);
50 size_t length_field_bytes,
51 const std::vector<uint8_t>& sync_word);
56 const std::vector<uint8_t>& sync_word,
61 const std::vector<uint8_t>& sync_word,
68 const size_t d_max_frame_len;
69 const size_t d_preamle_len;
70 const bool d_var_len = 0;
73 uint8_t* d_buffer_frame_len;
74 uint8_t d_length_field_bytes;
#define SATNOGS_API
Definition api.h:19
Abstract class defining the API of the SatNOGS Encoders.
Definition encoder.h:44
An IEEE802.15.4 frame encoder with some extended parameterization.
Definition ieee802_15_4_encoder.h:40
ieee802_15_4_encoder(uint8_t preamble, size_t preamble_len, size_t length_field_bytes, const std::vector< uint8_t > &sync_word)
static sptr make(uint8_t preamble, size_t preamble_len, const std::vector< uint8_t > &sync_word, size_t frame_len)
static sptr make(uint8_t preamble, size_t preamble_len, size_t length_field_bytes, const std::vector< uint8_t > &sync_word)
ieee802_15_4_encoder(uint8_t preamble, size_t preamble_len, const std::vector< uint8_t > &sync_word, size_t frame_len)
std::shared_ptr< ieee802_15_4_encoder > sptr
Definition ieee802_15_4_encoder.h:42
pmt::pmt_t encode(pmt::pmt_t msg)
Definition amsat_duv_decoder.h:29