summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-30 11:14:51 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-30 11:14:51 +0100
commit4c94f39c26639e57270398799538f420f8c4378a (patch)
tree088063d9290a9976e4729b569cb1ed847a0760f0
parent1b77613022a922677b717bacbfb711931ea26909 (diff)
downloaddabmod-4c94f39c26639e57270398799538f420f8c4378a.tar.gz
dabmod-4c94f39c26639e57270398799538f420f8c4378a.tar.bz2
dabmod-4c94f39c26639e57270398799538f420f8c4378a.zip
Register the RC parameters for SDR
-rw-r--r--src/output/SDR.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp
index b5741a6..71f1436 100644
--- a/src/output/SDR.cpp
+++ b/src/output/SDR.cpp
@@ -70,6 +70,14 @@ SDR::SDR(SDRDeviceConfig& config, std::shared_ptr<SDRDevice> device) :
m_device,
m_config.dpdFeedbackServerPort,
m_config.sampleRate);
+
+ RC_ADD_PARAMETER(txgain, "TX gain");
+ RC_ADD_PARAMETER(rxgain, "RX gain for DPD feedback");
+ RC_ADD_PARAMETER(freq, "Transmission frequency");
+ RC_ADD_PARAMETER(muting, "Mute the output by stopping the transmitter");
+ RC_ADD_PARAMETER(underruns, "Counter of number of underruns");
+ RC_ADD_PARAMETER(latepackets, "Counter of number of late packets");
+ RC_ADD_PARAMETER(frames, "Counter of number of frames modulated");
}
SDR::~SDR()