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

Add hamming code to the to be sent playload. This means extra party bits are added to the payload to be able to recover from bit errors during transmission For more information about the implementation visit hamming_enc_impl. More...

#include <hamming_enc.h>

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

Public Types

typedef std::shared_ptr< hamming_encsptr
 

Static Public Member Functions

static sptr make (uint8_t cr, uint8_t sf)
 Return a shared_ptr to a new instance of lora_sdr::hamming_enc.
 

Detailed Description

Add hamming code to the to be sent playload. This means extra party bits are added to the payload to be able to recover from bit errors during transmission For more information about the implementation visit hamming_enc_impl.

Member Typedef Documentation

◆ sptr

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

Member Function Documentation

◆ make()

static sptr gr::lora_sdr::hamming_enc::make ( uint8_t  cr,
uint8_t  sf 
)
static

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

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


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