diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-01-13 09:45:55 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-01-13 09:45:55 +0100 |
commit | be5f9613311d944b8971570bff444c5af094f0f5 (patch) | |
tree | 6e97e48801fe10a61244c2f4e36ef7f28a6e3c57 /host/lib/usrp/common/ad9361_ctrl.hpp | |
parent | d15fe9bc22efe4d0499a9108659e32c93e0a2848 (diff) | |
parent | 23729861a2020359b9c920347bd2d7c43d96ebf8 (diff) | |
download | uhd-be5f9613311d944b8971570bff444c5af094f0f5.tar.gz uhd-be5f9613311d944b8971570bff444c5af094f0f5.tar.bz2 uhd-be5f9613311d944b8971570bff444c5af094f0f5.zip |
Merge branch 'maint'
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; }; }} |