GNU Radio's M17 Package
gr::m17::m17_decoder_impl Class Reference

#include <m17_decoder_impl.h>

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

Public Member Functions

 m17_decoder_impl (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)
 ~m17_decoder_impl ()
void set_key (std::string arg)
bool start () override
std::string tag () const
void rx_reset (void)
void publish_fields (const std::string &text="")
void text_block (const lsf_t &l)
void check_keys (uint16_t type)
void set_pub_key (std::string arg)
void set_undecodable_out (int mode)
void set_seed (std::string seed)
void set_callsign (bool callsign)
void set_sw_threshold (float sw_threshold)
void set_vt_threshold (float vt_threshold)
void set_signed (bool signed_str)
void set_encr_type (int encr_type)
void scrambler_sequence_generator ()
uint32_t scrambler_seed_calculation (int8_t subtype, uint32_t key, int fn)
void forecast (int noutput_items, gr_vector_int &ninput_items_required)
int general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)

Public Attributes

uint8_t _txt_block [4][13]
uint8_t _txt_used = 0
uint8_t _txt_have = 0
bool _txt_done = false
int _key_len = 0
int _seed_len = 0
bool _started = false
int _rx_frames = 0
float _rx_max_e = 0.0f
std::string _rx_sig
lsf_t _rx_lsf
bool _rx_lsf_seen = false
int _undecodable_out = 0

Additional Inherited Members

Public Types inherited from gr::m17::m17_decoder
enum  encr_t { ENCR_NONE , ENCR_SCRAM , ENCR_AES , ENCR_RES }
typedef std::shared_ptr< m17_decoder > sptr
Static Public Member Functions inherited from gr::m17::m17_decoder
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.

Constructor & Destructor Documentation

◆ m17_decoder_impl()

gr::m17::m17_decoder_impl::m17_decoder_impl ( 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 )

◆ ~m17_decoder_impl()

gr::m17::m17_decoder_impl::~m17_decoder_impl ( )

Member Function Documentation

◆ check_keys()

void gr::m17::m17_decoder_impl::check_keys ( uint16_t type)

◆ forecast()

void gr::m17::m17_decoder_impl::forecast ( int noutput_items,
gr_vector_int & ninput_items_required )

◆ general_work()

int gr::m17::m17_decoder_impl::general_work ( int noutput_items,
gr_vector_int & ninput_items,
gr_vector_const_void_star & input_items,
gr_vector_void_star & output_items )

◆ publish_fields()

void gr::m17::m17_decoder_impl::publish_fields ( const std::string & text = "")

◆ rx_reset()

void gr::m17::m17_decoder_impl::rx_reset ( void )

◆ scrambler_seed_calculation()

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

Implements gr::m17::m17_decoder.

◆ scrambler_sequence_generator()

void gr::m17::m17_decoder_impl::scrambler_sequence_generator ( )
virtual

Implements gr::m17::m17_decoder.

◆ set_callsign()

void gr::m17::m17_decoder_impl::set_callsign ( bool callsign)
virtual

Implements gr::m17::m17_decoder.

◆ set_encr_type()

void gr::m17::m17_decoder_impl::set_encr_type ( int encr_type)

◆ set_key()

void gr::m17::m17_decoder_impl::set_key ( std::string arg)
virtual

Implements gr::m17::m17_decoder.

◆ set_pub_key()

void gr::m17::m17_decoder_impl::set_pub_key ( std::string arg)
virtual

Implements gr::m17::m17_decoder.

◆ set_seed()

void gr::m17::m17_decoder_impl::set_seed ( std::string seed)
virtual

Implements gr::m17::m17_decoder.

◆ set_signed()

void gr::m17::m17_decoder_impl::set_signed ( bool signed_str)
virtual

Implements gr::m17::m17_decoder.

◆ set_sw_threshold()

void gr::m17::m17_decoder_impl::set_sw_threshold ( float sw_threshold)
virtual

Implements gr::m17::m17_decoder.

◆ set_undecodable_out()

void gr::m17::m17_decoder_impl::set_undecodable_out ( int mode)
virtual

Implements gr::m17::m17_decoder.

◆ set_vt_threshold()

void gr::m17::m17_decoder_impl::set_vt_threshold ( float vt_threshold)
virtual

Implements gr::m17::m17_decoder.

◆ start()

bool gr::m17::m17_decoder_impl::start ( )
override

◆ tag()

std::string gr::m17::m17_decoder_impl::tag ( ) const

◆ text_block()

void gr::m17::m17_decoder_impl::text_block ( const lsf_t & l)

Member Data Documentation

◆ _key_len

int gr::m17::m17_decoder_impl::_key_len = 0

◆ _rx_frames

int gr::m17::m17_decoder_impl::_rx_frames = 0

◆ _rx_lsf

lsf_t gr::m17::m17_decoder_impl::_rx_lsf

◆ _rx_lsf_seen

bool gr::m17::m17_decoder_impl::_rx_lsf_seen = false

◆ _rx_max_e

float gr::m17::m17_decoder_impl::_rx_max_e = 0.0f

◆ _rx_sig

std::string gr::m17::m17_decoder_impl::_rx_sig

◆ _seed_len

int gr::m17::m17_decoder_impl::_seed_len = 0

◆ _started

bool gr::m17::m17_decoder_impl::_started = false

◆ _txt_block

uint8_t gr::m17::m17_decoder_impl::_txt_block[4][13]

◆ _txt_done

bool gr::m17::m17_decoder_impl::_txt_done = false

◆ _txt_have

uint8_t gr::m17::m17_decoder_impl::_txt_have = 0

◆ _txt_used

uint8_t gr::m17::m17_decoder_impl::_txt_used = 0

◆ _undecodable_out

int gr::m17::m17_decoder_impl::_undecodable_out = 0

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