summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/gr_uhd_usrp_source.cc
diff options
context:
space:
mode:
authorNicholas Corgan2012-04-03 15:53:33 -0700
committerNicholas Corgan2012-04-03 15:53:33 -0700
commitc5ad101e0f93b26521507672813ef28ea533482a (patch)
treeec31b27226dcea6fcf028b3761a4b66b45e3f2bc /gr-uhd/lib/gr_uhd_usrp_source.cc
parent27608bfcc97e09372630237618eddce8a02d2fe6 (diff)
downloadgnuradio-c5ad101e0f93b26521507672813ef28ea533482a.tar.gz
gnuradio-c5ad101e0f93b26521507672813ef28ea533482a.tar.bz2
gnuradio-c5ad101e0f93b26521507672813ef28ea533482a.zip
gr-uhd: uhd_usrp_source and uhd_usrp_sink can now multi_usrp's list_property_tree and get_usrp_info functions
Diffstat (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc')
-rw-r--r--gr-uhd/lib/gr_uhd_usrp_source.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc
index bd7f4e21d..fd0cf9d94 100644
--- a/gr-uhd/lib/gr_uhd_usrp_source.cc
+++ b/gr-uhd/lib/gr_uhd_usrp_source.cc
@@ -70,6 +70,14 @@ public:
_dev = uhd::usrp::multi_usrp::make(device_addr);
}
+ std::vector<std::string> list_property_tree(const std::string &path){
+ return _dev->list_property_tree(path);
+ }
+
+ uhd::dict<std::string, std::string> get_usrp_info(size_t mboard, size_t chan){
+ return _dev->get_usrp_info(mboard, chan);
+ }
+
void set_subdev_spec(const std::string &spec, size_t mboard){
return _dev->set_rx_subdev_spec(spec, mboard);
}