GNU Radio 3.7.1 C++ API
gr::digital::ofdm_frame_sink Class Reference

Takes an OFDM symbol in, demaps it into bits of 0's and 1's, packs them into packets, and sends to to a message queue sink. More...

#include <ofdm_frame_sink.h>

Inheritance diagram for gr::digital::ofdm_frame_sink:

List of all members.

Public Types

typedef boost::shared_ptr
< ofdm_frame_sink
sptr

Static Public Member Functions

static sptr make (const std::vector< gr_complex > &sym_position, const std::vector< char > &sym_value_out, msg_queue::sptr target_queue, int occupied_tones, float phase_gain=0.25, float freq_gain=0.25 *0.25/4)

Detailed Description

Takes an OFDM symbol in, demaps it into bits of 0's and 1's, packs them into packets, and sends to to a message queue sink.

NOTE: The mod input parameter simply chooses a pre-defined demapper/slicer. Eventually, we want to be able to pass in a reference to an object to do the demapping and slicing for a given modulation type.


Member Typedef Documentation


Member Function Documentation

static sptr gr::digital::ofdm_frame_sink::make ( const std::vector< gr_complex > &  sym_position,
const std::vector< char > &  sym_value_out,
msg_queue::sptr  target_queue,
int  occupied_tones,
float  phase_gain = 0.25,
float  freq_gain = 0.25 *0.25/4 
) [static]

Make an OFDM frame sink block.

Parameters:
sym_positionvector of OFDM carrier symbols in complex space
sym_value_outvector of bit mapped from the complex symbol space
target_queuemessage queue for the packets to go into
occupied_tonesThe number of subcarriers with data in the received symbol
phase_gaingain of the phase tracking loop
freq_gaingain of the frequency tracking loop

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