From ebd2ecc6ff2b82cb06701bbcda17d4caaa4ba8c1 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 28 Jun 2011 19:10:55 -0700 Subject: uhd: work getting multi-usrp working --- host/utils/uhd_usrp_probe.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/utils') diff --git a/host/utils/uhd_usrp_probe.cpp b/host/utils/uhd_usrp_probe.cpp index 0605aa621..e90f82ee8 100644 --- a/host/utils/uhd_usrp_probe.cpp +++ b/host/utils/uhd_usrp_probe.cpp @@ -74,6 +74,7 @@ static std::string get_subdev_pp_string(const std::string &type, property_tree:: ss << boost::format("Name: %s") % (tree->access(path / "name").get()) << std::endl; ss << boost::format("Antennas: %s") % prop_names_to_pp_string(tree->access >(path / "antenna/options").get()) << std::endl; + ss << boost::format("Sensors: %s") % prop_names_to_pp_string(tree->list(path / "sensors")) << std::endl; meta_range_t freq_range = tree->access(path / "freq/range").get(); ss << boost::format("Freq range: %.3f to %.3f Mhz") % (freq_range.start()/1e6) % (freq_range.stop()/1e6) << std::endl; @@ -134,6 +135,10 @@ static std::string get_mboard_pp_string(property_tree::sptr tree, const property BOOST_FOREACH(const std::string &key, mb_eeprom.keys()){ if (not mb_eeprom[key].empty()) ss << boost::format("%s: %s") % key % mb_eeprom[key] << std::endl; } + ss << std::endl; + ss << "Time sources: " << prop_names_to_pp_string(tree->access >(path / "time_source" / "options").get()) << std::endl; + ss << "Ref sources: " << prop_names_to_pp_string(tree->access >(path / "ref_source" / "options").get()) << std::endl; + ss << "Sensors: " << prop_names_to_pp_string(tree->list(path / "sensors")) << std::endl; BOOST_FOREACH(const std::string &name, tree->list(path / "rx_dsps")){ ss << make_border(get_dsp_pp_string("RX", tree, path / "rx_dsps" / name)); } -- cgit v1.2.3