8#ifndef INCLUDED_M17_M17_DECODER_H
9#define INCLUDED_M17_M17_DECODER_H
11#include <gnuradio/block.h>
27 typedef std::shared_ptr < m17_decoder >
sptr;
44 static sptr make (
bool debug_data,
bool debug_ctrl,
float threshold,
45 bool callsign,
bool signed_str,
int encr_type,
46 std::string key, std::string seed);
47 virtual void set_debug_data (
bool debug) = 0;
48 virtual void set_debug_ctrl (
bool debug) = 0;
52 virtual void set_key (std::string key) = 0;
54 virtual void parse_raw_key_string (uint8_t * dest,
const char *inp) = 0;
57 uint32_t key,
int fn) = 0;
#define M17_API
Definition api.h:19
<+description of block+>
Definition m17_decoder.h:25
virtual void scrambler_sequence_generator()=0
virtual void set_signed(bool signed_str)=0
virtual void set_seed(std::string seed)=0
virtual uint32_t scrambler_seed_calculation(int8_t subtype, uint32_t key, int fn)=0
virtual void set_callsign(bool callsign)=0
std::shared_ptr< m17_decoder > sptr
Definition m17_decoder.h:27
virtual void set_key(std::string key)=0
virtual void set_threshold(float threshold)=0
@ ENCR_RES
Definition m17_decoder.h:33
@ ENCR_SCRAM
Definition m17_decoder.h:31
@ ENCR_AES
Definition m17_decoder.h:32
@ ENCR_NONE
Definition m17_decoder.h:30
static sptr make(bool debug_data, bool debug_ctrl, float threshold, bool callsign, bool signed_str, int encr_type, std::string key, std::string seed)
Return a shared_ptr to a new instance of m17::m17_decoder.
Definition m17_coder.h:17
Definition m17_coder.h:15