summaryrefslogtreecommitdiff
path: root/gr-uhd/include/gr_uhd_usrp_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/include/gr_uhd_usrp_source.h')
-rw-r--r--gr-uhd/include/gr_uhd_usrp_source.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/gr-uhd/include/gr_uhd_usrp_source.h b/gr-uhd/include/gr_uhd_usrp_source.h
index 20cc863d7..0dde4b194 100644
--- a/gr-uhd/include/gr_uhd_usrp_source.h
+++ b/gr-uhd/include/gr_uhd_usrp_source.h
@@ -125,11 +125,11 @@ public:
/*!
* Returns identifying information about this USRP's configuration.
* Returns motherboard ID, name, and serial.
- * Returns daughterboard TX/RX ID, subdev name, and serial.
- * \param mboard the motherboard index 0 to M-1
+ * Returns daughterboard RX ID, subdev name, and serial.
* \param chan channel index 0 to N-1
+ * \return RX info
*/
- virtual uhd::dict<std::string, std::string> get_usrp_info(size_t mboard = 0, size_t chan = 0) = 0;
+ virtual uhd::dict<std::string, std::string> get_usrp_rx_info(size_t chan = 0) = 0;
/*!
* Set the frontend specification.
@@ -139,6 +139,13 @@ public:
virtual void set_subdev_spec(const std::string &spec, size_t mboard = 0) = 0;
/*!
+ * Get the RX frontend specification.
+ * \param mboard the motherboard index 0 to M-1
+ * \return the frontend specification in use
+ */
+ virtual std::string get_subdev_spec(size_t mboard = 0) = 0;
+
+ /*!
* Set the sample rate for the usrp device.
* \param rate a new rate in Sps
*/