aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
diff options
context:
space:
mode:
authorJulian Arnold <julian.arnold@ettus.com>2014-12-10 12:08:40 -0800
committerMartin Braun <martin.braun@ettus.com>2015-01-20 19:33:05 +0100
commit81f08ddff55fb5b181fb2575bd418eee2ac95937 (patch)
tree5de7307608606c6a508324f32b25c64f08696738 /host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
parent93bd61a0fec4ea7e81ba78f62fb998116266ac96 (diff)
downloaduhd-81f08ddff55fb5b181fb2575bd418eee2ac95937.tar.gz
uhd-81f08ddff55fb5b181fb2575bd418eee2ac95937.tar.bz2
uhd-81f08ddff55fb5b181fb2575bd418eee2ac95937.zip
e200: Expose temperature sensor through property tree (sensors/temp)
Diffstat (limited to 'host/lib/usrp/e300/e300_remote_codec_ctrl.hpp')
-rw-r--r--host/lib/usrp/e300/e300_remote_codec_ctrl.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp b/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
index cbc4b52d2..d92e9bd58 100644
--- a/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
+++ b/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
@@ -34,6 +34,7 @@ public:
double gain;
double freq;
double rssi;
+ double temp;
boost::uint64_t bits;
};
@@ -44,6 +45,7 @@ public:
static const boost::uint32_t ACTION_TUNE = 13;
static const boost::uint32_t ACTION_SET_LOOPBACK = 14;
static const boost::uint32_t ACTION_GET_RSSI = 15;
+ static const boost::uint32_t ACTION_GET_TEMPERATURE = 16;
//Values for "which"
static const boost::uint32_t CHAIN_NONE = 0;