diff options
author | Julian Arnold <julian.arnold@ettus.com> | 2014-12-16 13:32:40 -0800 |
---|---|---|
committer | Julian Arnold <julian.arnold@ettus.com> | 2015-01-12 15:38:53 -0800 |
commit | 9d0750df6c90099eabd6d4108f51ebbee85ded21 (patch) | |
tree | 6a082a5c9832f89fb44c9e7e0c20631e62e79061 /host/lib/usrp/common/ad9361_ctrl.hpp | |
parent | 12e86cc384b150a8fbc1ce22533df62cba58df10 (diff) | |
download | uhd-9d0750df6c90099eabd6d4108f51ebbee85ded21.tar.gz uhd-9d0750df6c90099eabd6d4108f51ebbee85ded21.tar.bz2 uhd-9d0750df6c90099eabd6d4108f51ebbee85ded21.zip |
ad9361: rssi readout
Diffstat (limited to 'host/lib/usrp/common/ad9361_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/common/ad9361_ctrl.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/host/lib/usrp/common/ad9361_ctrl.hpp b/host/lib/usrp/common/ad9361_ctrl.hpp index 93d697349..16e1d23eb 100644 --- a/host/lib/usrp/common/ad9361_ctrl.hpp +++ b/host/lib/usrp/common/ad9361_ctrl.hpp @@ -21,6 +21,7 @@ #include <uhd/transport/zero_copy.hpp> #include <uhd/types/ranges.hpp> #include <uhd/types/serial.hpp> +#include <uhd/types/sensors.hpp> #include <boost/shared_ptr.hpp> #include <ad9361_device.h> #include <string> @@ -94,8 +95,11 @@ public: //! tune the given frontend, return the exact value virtual double tune(const std::string &which, const double value) = 0; - //! turn on/off Catalina's data port loopback + //! turn on/off data port loopback virtual void data_port_loopback(const bool on) = 0; + + //! read internal RSSI sensor + virtual sensor_value_t get_rssi(const std::string &which) = 0; }; }} |