GNU Radio's SATNOGS Package
gr::satnogs::ax25_encoder_mb Class Reference

AX.25 encoder block that supports the legacy hardware radios. More...

#include <ax25_encoder_mb.h>

Inheritance diagram for gr::satnogs::ax25_encoder_mb:
gr::satnogs::ax25_encoder_mb_impl

Public Types

typedef boost::shared_ptr< ax25_encoder_mbsptr
 

Static Public Member Functions

static sptr make (const std::string &dest_addr, uint8_t dest_ssid, const std::string &src_addr, uint8_t src_ssid, size_t preamble_len=16, size_t postamble_len=16, bool scramble=true)
 

Detailed Description

AX.25 encoder block that supports the legacy hardware radios.

The block takes as inputs blob PMT messages and generates a byte stream. Each output byte contains only one LSB, thus the output can be directly used for FM modulation.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::satnogs::ax25_encoder_mb::make ( const std::string &  dest_addr,
uint8_t  dest_ssid,
const std::string &  src_addr,
uint8_t  src_ssid,
size_t  preamble_len = 16,
size_t  postamble_len = 16,
bool  scramble = true 
)
static

AX.25 encoder block that supports the legacy hardware radios.

The block takes as inputs blob PMT messages and generates a byte stream. Each output byte contains only one LSB, thus the output can be directly used for FM modulation.

Parameters
dest_addrthe destination callsign
dest_ssidthe destination SSID
src_addrthe source callsign
src_ssidthe source SSID
preamble_lenthe number of times that the AX.25 synchronization flags should be repeated in front of the frame.
postamble_lenthe number of times that the AX.25 synchronization flags should be repeated at the end of the frame.
scrambleif set to true, G3RUH scrambling will be performed after bit stuffing

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