GNU Radio 3.7.1 C++ API
|
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>
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) |
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.
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.
sym_position | vector of OFDM carrier symbols in complex space |
sym_value_out | vector of bit mapped from the complex symbol space |
target_queue | message queue for the packets to go into |
occupied_tones | The number of subcarriers with data in the received symbol |
phase_gain | gain of the phase tracking loop |
freq_gain | gain of the frequency tracking loop |