summaryrefslogtreecommitdiff
path: root/gr-uhd/include/gnuradio/uhd/usrp_source.h
diff options
context:
space:
mode:
authorJosh Morman <mormjb@gmail.com>2020-06-26 09:08:55 -0400
committermormj <34754695+mormj@users.noreply.github.com>2020-08-14 05:44:26 -0400
commit0a89472e5235bb9d3b6872271c23cb167c5d430c (patch)
tree96369e7144fc962453690b5dc66221f9ae225aae /gr-uhd/include/gnuradio/uhd/usrp_source.h
parentd6cb8d359d333c6f9af629bda5950db16d604ce5 (diff)
uhd: wrap get_usrp_info to compatible return type
- Move get_usrp_info() to usrp_block - Casts the return value to std::map so PyBind11 can turn it into a dictionary in Python This fixes an issue where get_usrp_info() would cause an Exception with PyBind11. Co-authored-by: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'gr-uhd/include/gnuradio/uhd/usrp_source.h')
-rw-r--r--gr-uhd/include/gnuradio/uhd/usrp_source.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gr-uhd/include/gnuradio/uhd/usrp_source.h b/gr-uhd/include/gnuradio/uhd/usrp_source.h
index bd08f08641..304ba5b079 100644
--- a/gr-uhd/include/gnuradio/uhd/usrp_source.h
+++ b/gr-uhd/include/gnuradio/uhd/usrp_source.h
@@ -120,16 +120,6 @@ public:
virtual void set_recv_timeout(const double timeout, const bool one_packet = true) = 0;
/*!
- * Returns identifying information about this USRP's configuration.
- * Returns motherboard ID, name, and serial.
- * Returns daughterboard RX ID, subdev name and spec, serial, and antenna.
- * \param chan channel index 0 to N-1
- * \return RX info
- */
- virtual ::uhd::dict<std::string, std::string> get_usrp_info(size_t chan = 0) = 0;
-
-
- /*!
* Get a list of possible LO stage names
* \param chan the channel index 0 to N-1
* \return a vector of strings for possible LO names