diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-09 15:16:07 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-09 15:16:07 -0700 |
commit | 55658336cf67810ab8cd7829b9a1fa86c8cd4539 (patch) | |
tree | 1cfecbb4ddfe785a7787a42be2f7df4b00983856 /host/include | |
parent | 2a87970a9ca5bf98c555ad216c551263663fedcc (diff) | |
download | uhd-55658336cf67810ab8cd7829b9a1fa86c8cd4539.tar.gz uhd-55658336cf67810ab8cd7829b9a1fa86c8cd4539.tar.bz2 uhd-55658336cf67810ab8cd7829b9a1fa86c8cd4539.zip |
usrp: added api call to get the subdev spec
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/usrp/mimo_usrp.hpp | 2 | ||||
-rw-r--r-- | host/include/uhd/usrp/simple_usrp.hpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/mimo_usrp.hpp b/host/include/uhd/usrp/mimo_usrp.hpp index 9856f9d32..10a404059 100644 --- a/host/include/uhd/usrp/mimo_usrp.hpp +++ b/host/include/uhd/usrp/mimo_usrp.hpp @@ -121,6 +121,7 @@ public: * RX methods ******************************************************************/ virtual void set_rx_subdev_spec(size_t chan, const uhd::usrp::subdev_spec_t &spec) = 0; + virtual uhd::usrp::subdev_spec_t get_rx_subdev_spec(size_t chan) = 0; virtual void set_rx_rate_all(double rate) = 0; virtual double get_rx_rate_all(void) = 0; @@ -152,6 +153,7 @@ public: * TX methods ******************************************************************/ virtual void set_tx_subdev_spec(size_t chan, const uhd::usrp::subdev_spec_t &spec) = 0; + virtual uhd::usrp::subdev_spec_t get_tx_subdev_spec(size_t chan) = 0; virtual void set_tx_rate_all(double rate) = 0; virtual double get_tx_rate_all(void) = 0; diff --git a/host/include/uhd/usrp/simple_usrp.hpp b/host/include/uhd/usrp/simple_usrp.hpp index a6275cfcc..4da63c929 100644 --- a/host/include/uhd/usrp/simple_usrp.hpp +++ b/host/include/uhd/usrp/simple_usrp.hpp @@ -109,6 +109,7 @@ public: * RX methods ******************************************************************/ virtual void set_rx_subdev_spec(const uhd::usrp::subdev_spec_t &spec) = 0; + virtual uhd::usrp::subdev_spec_t get_rx_subdev_spec(void) = 0; virtual void set_rx_rate(double rate) = 0; virtual double get_rx_rate(void) = 0; @@ -139,6 +140,7 @@ public: * TX methods ******************************************************************/ virtual void set_tx_subdev_spec(const uhd::usrp::subdev_spec_t &spec) = 0; + virtual uhd::usrp::subdev_spec_t get_tx_subdev_spec(void) = 0; virtual void set_tx_rate(double rate) = 0; virtual double get_tx_rate(void) = 0; |