GNU Radio's LORA_SDR Package
gr::lora_sdr::hier_tx Class Reference

wrapper of Tx chain (data_source, whitening, add_header,add_crc, hamming_enc, interleaver, gray mapping,modulate) More...

#include <hier_tx.h>

Inheritance diagram for gr::lora_sdr::hier_tx:
[legend]

Public Types

typedef std::shared_ptr< hier_txsptr
 

Static Public Member Functions

static sptr make (int pay_len, int n_frames, std::string src_data, uint8_t cr, uint8_t sf, bool impl_head, bool has_crc, uint32_t samp_rate, uint32_t bw, uint32_t mean, std::vector< uint16_t > sync_words, bool create_zeros)
 Return a shared_ptr to a new instance of lora_sdr::hier_tx.
 

Detailed Description

wrapper of Tx chain (data_source, whitening, add_header,add_crc, hamming_enc, interleaver, gray mapping,modulate)

Member Typedef Documentation

◆ sptr

typedef std::shared_ptr<hier_tx> gr::lora_sdr::hier_tx::sptr

Member Function Documentation

◆ make()

static sptr gr::lora_sdr::hier_tx::make ( int  pay_len,
int  n_frames,
std::string  src_data,
uint8_t  cr,
uint8_t  sf,
bool  impl_head,
bool  has_crc,
uint32_t  samp_rate,
uint32_t  bw,
uint32_t  mean,
std::vector< uint16_t >  sync_words,
bool  create_zeros 
)
static

Return a shared_ptr to a new instance of lora_sdr::hier_tx.

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


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