aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/rx_samples_to_udp.cpp
diff options
context:
space:
mode:
authorMarcus Müller <marcus@hostalia.de>2014-12-12 11:37:53 +0100
committerMarcus Müller <marcus@hostalia.de>2014-12-12 11:37:53 +0100
commit125820ea682728141bce25d2d7f6e8609c36ec41 (patch)
tree1ffd743579dead3411dc8b91acd5abbf3572cacd /host/examples/rx_samples_to_udp.cpp
parenta22eb14f4d97b67a4c123157e44a5eff5333ec10 (diff)
downloaduhd-125820ea682728141bce25d2d7f6e8609c36ec41.tar.gz
uhd-125820ea682728141bce25d2d7f6e8609c36ec41.tar.bz2
uhd-125820ea682728141bce25d2d7f6e8609c36ec41.zip
host/examples: rm'ed refs to d'boards, IF freq.
To reflect a reality where some USRPs don't have daughterboards, and set_xx_bandwidth doesn't necessarily set an /IF/ bandwidth.
Diffstat (limited to 'host/examples/rx_samples_to_udp.cpp')
-rw-r--r--host/examples/rx_samples_to_udp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/examples/rx_samples_to_udp.cpp b/host/examples/rx_samples_to_udp.cpp
index a8f0e0c36..9accdef83 100644
--- a/host/examples/rx_samples_to_udp.cpp
+++ b/host/examples/rx_samples_to_udp.cpp
@@ -47,9 +47,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
("rate", po::value<double>(&rate)->default_value(100e6/16), "rate of incoming samples")
("freq", po::value<double>(&freq)->default_value(0), "rf center frequency in Hz")
("gain", po::value<double>(&gain)->default_value(0), "gain for the RF chain")
- ("ant", po::value<std::string>(&ant), "daughterboard antenna selection")
- ("subdev", po::value<std::string>(&subdev), "daughterboard subdevice specification")
- ("bw", po::value<double>(&bw), "daughterboard IF filter bandwidth in Hz")
+ ("ant", po::value<std::string>(&ant), "antenna selection")
+ ("subdev", po::value<std::string>(&subdev), "subdevice specification")
+ ("bw", po::value<double>(&bw), "analog frontend filter bandwidth in Hz")
("port", po::value<std::string>(&port)->default_value("7124"), "server udp port")
("addr", po::value<std::string>(&addr)->default_value("192.168.1.10"), "resolvable server address")
("ref", po::value<std::string>(&ref)->default_value("internal"), "reference source (internal, external, mimo)")
@@ -91,7 +91,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
usrp->set_rx_gain(gain);
std::cout << boost::format("Actual RX Gain: %f dB...") % usrp->get_rx_gain() << std::endl << std::endl;
- //set the IF filter bandwidth
+ //set the analog frontend filter bandwidth
if (vm.count("bw")){
std::cout << boost::format("Setting RX Bandwidth: %f MHz...") % bw << std::endl;
usrp->set_rx_bandwidth(bw);