diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/usrp/simple_usrp.hpp | 6 | ||||
-rw-r--r-- | host/lib/usrp/simple_usrp.cpp | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/simple_usrp.hpp b/host/include/uhd/usrp/simple_usrp.hpp index a100579ce..8fc6d59d9 100644 --- a/host/include/uhd/usrp/simple_usrp.hpp +++ b/host/include/uhd/usrp/simple_usrp.hpp @@ -152,6 +152,12 @@ public: virtual std::vector<std::string> get_tx_antennas(void) = 0; virtual bool get_tx_lo_locked(void) = 0; + + /******************************************************************* + * Interface access methods + ******************************************************************/ + virtual wax::obj get_rx_dboard_iface(void) = 0; + virtual wax::obj get_tx_dboard_iface(void) = 0; }; }} diff --git a/host/lib/usrp/simple_usrp.cpp b/host/lib/usrp/simple_usrp.cpp index 704232782..a8c20c439 100644 --- a/host/lib/usrp/simple_usrp.cpp +++ b/host/lib/usrp/simple_usrp.cpp @@ -228,6 +228,18 @@ public: return _tx_subdev[SUBDEV_PROP_LO_LOCKED].as<bool>(); } + /******************************************************************* + * Interface access methods + ******************************************************************/ + + wax::obj get_rx_dboard_iface(void) { + return _rx_dboard; + } + + wax::obj get_tx_dboard_iface(void) { + return _tx_dboard; + } + private: device::sptr _dev; wax::obj _mboard; |