fun_ofdm
1.0
802.11a Physical Layer for USRP
|
Simulates the building of packets and sending them through the receive chain. More...
#include <iostream>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/program_options.hpp>
#include "usrp.h"
#include "frame_builder.h"
#include "receiver_chain.h"
Go to the source code of this file.
Functions | |
void | test_sim () |
int | main (int argc, char *argv[]) |
Variables | |
double | freq = 5.26e9 |
double | sample_rate = 5e6 |
double | tx_gain = 30 |
double | rx_gain = 30 |
double | amp = 0.5 |
Rate | phy_rate = RATE_3_4_QAM16 |
Simulates the building of packets and sending them through the receive chain.
This file is used to simulate building packets with the frame_builder class and then sending them through the receive chain.
Definition in file test_sim.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 30 of file test_sim.cpp.
References test_sim().
void test_sim | ( | ) |
This function builds some packets using the frame builder and sends them through the receiver chain. This function does NOT use the transmitter and receiver classes.
Definition at line 43 of file test_sim.cpp.
References fun::frame_builder::build_frame(), phy_rate, and fun::receiver_chain::process_samples().
Referenced by main().
double amp = 0.5 |
Definition at line 24 of file test_sim.cpp.
Referenced by fun::QAM< NumBits >::decode(), and main().
double freq = 5.26e9 |
Definition at line 20 of file test_sim.cpp.
Rate phy_rate = RATE_3_4_QAM16 |
Definition at line 28 of file test_sim.cpp.
Referenced by main(), and test_sim().
double rx_gain = 30 |
Definition at line 23 of file test_sim.cpp.
double sample_rate = 5e6 |
Definition at line 21 of file test_sim.cpp.
double tx_gain = 30 |
Definition at line 22 of file test_sim.cpp.
Referenced by main().