From 23729861a2020359b9c920347bd2d7c43d96ebf8 Mon Sep 17 00:00:00 2001 From: Julian Arnold Date: Tue, 16 Dec 2014 12:08:56 -0800 Subject: e300: rssi sensor network support --- host/lib/usrp/e300/e300_network.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/lib/usrp/e300/e300_network.cpp') diff --git a/host/lib/usrp/e300/e300_network.cpp b/host/lib/usrp/e300/e300_network.cpp index 883ff0c4f..6d36d8681 100644 --- a/host/lib/usrp/e300/e300_network.cpp +++ b/host/lib/usrp/e300/e300_network.cpp @@ -224,6 +224,9 @@ static void e300_codec_ctrl_tunnel( _codec_ctrl->data_port_loopback( uhd::ntohx(in->bits) & 1); break; + case codec_xact_t::ACTION_GET_RSSI: + out->rssi = _codec_ctrl->get_rssi(which_str).to_real(); + break; default: UHD_MSG(status) << "Got unknown request?!" << std::endl; //Zero out actions to fail this request on client -- cgit v1.2.3