fun_ofdm
1.0
802.11a Physical Layer for USRP
|
The usrp_params struct which holds parameters for the USRP object such as center frequency, sample rate, tx/rx gain, etc.. More...
#include <usrp.h>
Public Member Functions | |
usrp_params (double freq=5.72e9, double rate=5e6, double tx_gain=20, double rx_gain=20, double tx_amp=1.0, std::string device_addr="") | |
Constructor for usrp_params. Simply initializes member fields to be looked up later. More... | |
Public Attributes | |
double | freq |
Center Frequency. More... | |
double | rate |
Sample Rate. More... | |
double | tx_gain |
Transmit Gain (0-35 for USRP N210) More... | |
double | rx_gain |
Receive Gain (0-35 for USRP N210) More... | |
double | tx_amp |
Transmit Amplitude - scales all tx samples before sending to USRP. More... | |
std::string | device_addr |
IP Address of USRP as a string - i.e. "192.168.10.2" or "" to find automatically. More... | |
The usrp_params struct which holds parameters for the USRP object such as center frequency, sample rate, tx/rx gain, etc..
|
inline |
Constructor for usrp_params. Simply initializes member fields to be looked up later.
std::string fun::usrp_params::device_addr |
IP Address of USRP as a string - i.e. "192.168.10.2" or "" to find automatically.
Definition at line 32 of file usrp.h.
Referenced by fun::usrp::usrp().
double fun::usrp_params::freq |
double fun::usrp_params::rate |
double fun::usrp_params::rx_gain |
Receive Gain (0-35 for USRP N210)
Definition at line 30 of file usrp.h.
Referenced by fun::usrp::usrp().
double fun::usrp_params::tx_amp |
Transmit Amplitude - scales all tx samples before sending to USRP.
Definition at line 31 of file usrp.h.
Referenced by fun::usrp::send_burst_sync().
double fun::usrp_params::tx_gain |
Transmit Gain (0-35 for USRP N210)
Definition at line 29 of file usrp.h.
Referenced by fun::usrp::usrp().