GNU Radio's M17 Package
gr::m17::m17_decoder Class Referenceabstract

<+description of block+> More...

#include <m17_decoder.h>

Inheritance diagram for gr::m17::m17_decoder:
gr::m17::m17_decoder_impl

Public Types

enum  encr_t { ENCR_NONE , ENCR_SCRAM , ENCR_AES , ENCR_RES }
typedef std::shared_ptr< m17_decoder > sptr

Public Member Functions

virtual void set_callsign (bool callsign)=0
virtual void set_sw_threshold (float sw_threshold)=0
virtual void set_vt_threshold (float vt_threshold)=0
virtual void set_signed (bool signed_str)=0
virtual void set_key (std::string key)=0
virtual void set_pub_key (std::string pub_key)=0
virtual void set_undecodable_out (int mode)=0
virtual void set_seed (std::string seed)=0
virtual void scrambler_sequence_generator ()=0
virtual uint32_t scrambler_seed_calculation (int8_t subtype, uint32_t key, int fn)=0

Static Public Member Functions

static sptr make (bool debug_data, bool debug_ctrl, float sw_threshold, float vt_threshold, bool callsign, bool signed_str, int encr_type, std::string key, std::string seed, std::string pub_key="", int undecodable_out=0)
 Return a shared_ptr to a new instance of m17::m17_decoder.

Detailed Description

<+description of block+>

Member Typedef Documentation

◆ sptr

typedef std::shared_ptr< m17_decoder > gr::m17::m17_decoder::sptr

Member Enumeration Documentation

◆ encr_t

Enumerator
ENCR_NONE 
ENCR_SCRAM 
ENCR_AES 
ENCR_RES 

Member Function Documentation

◆ make()

sptr gr::m17::m17_decoder::make ( bool debug_data,
bool debug_ctrl,
float sw_threshold,
float vt_threshold,
bool callsign,
bool signed_str,
int encr_type,
std::string key,
std::string seed,
std::string pub_key = "",
int undecodable_out = 0 )
static

Return a shared_ptr to a new instance of m17::m17_decoder.

To avoid accidental use of raw pointers, m17::m17_decoder's constructor is in a private implementation class. m17::m17_decoder::make is the public interface for creating new instances.

◆ scrambler_seed_calculation()

virtual uint32_t gr::m17::m17_decoder::scrambler_seed_calculation ( int8_t subtype,
uint32_t key,
int fn )
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ scrambler_sequence_generator()

virtual void gr::m17::m17_decoder::scrambler_sequence_generator ( )
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ set_callsign()

virtual void gr::m17::m17_decoder::set_callsign ( bool callsign)
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ set_key()

virtual void gr::m17::m17_decoder::set_key ( std::string key)
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ set_pub_key()

virtual void gr::m17::m17_decoder::set_pub_key ( std::string pub_key)
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ set_seed()

virtual void gr::m17::m17_decoder::set_seed ( std::string seed)
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ set_signed()

virtual void gr::m17::m17_decoder::set_signed ( bool signed_str)
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ set_sw_threshold()

virtual void gr::m17::m17_decoder::set_sw_threshold ( float sw_threshold)
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ set_undecodable_out()

virtual void gr::m17::m17_decoder::set_undecodable_out ( int mode)
pure virtual

Implemented in gr::m17::m17_decoder_impl.

◆ set_vt_threshold()

virtual void gr::m17::m17_decoder::set_vt_threshold ( float vt_threshold)
pure virtual

Implemented in gr::m17::m17_decoder_impl.


The documentation for this class was generated from the following file: