From c5ad101e0f93b26521507672813ef28ea533482a Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Tue, 3 Apr 2012 15:53:33 -0700 Subject: gr-uhd: uhd_usrp_source and uhd_usrp_sink can now multi_usrp's list_property_tree and get_usrp_info functions --- gr-uhd/lib/gr_uhd_usrp_source.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc') 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 list_property_tree(const std::string &path){ + return _dev->list_property_tree(path); + } + + uhd::dict 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); } -- cgit