diff options
-rw-r--r-- | doc/example.ini | 14 | ||||
-rw-r--r-- | src/ConfigParser.cpp | 2 |
2 files changed, 12 insertions, 4 deletions
diff --git a/doc/example.ini b/doc/example.ini index b0bf022..64cb7df 100644 --- a/doc/example.ini +++ b/doc/example.ini @@ -268,21 +268,27 @@ listen=tcp://*:54001 ; Please see man zmq_socket for documentation socket_type=pub -; section defining the SoapySDR output settings. All these -; options are given to the SoapySDR library. +; section defining the SoapySDR output settings. [soapyoutput] +; These options are given to the SoapySDR library: device= master_clock_rate=32768000 txgain=40 ;frequency=234208000 channel=13C +;lo_offset=2048000 + ; You can set what TX antenna to use. This will depend on the ; SDR device you are using. ;tx_antenna= -; Used for SFN with the UHD output -[delaymanagement] +; Enable the TCP server to communicate TX and RX feedback for +; digital predistortion. +; Set to 0 to disable +;dpd_port=50055 +; Used for running single-frequency networks +[delaymanagement] ; Enable handling of timestamps for SFN synchronous=0 diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 5f3f61e..7603c1e 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -315,6 +315,8 @@ static void parse_configfile( throw std::runtime_error("Configuration error"); } + outputsoapy_conf.dpdFeedbackServerPort = pt.get<long>("soapyoutput.dpd_port", 0); + mod_settings.useSoapyOutput = true; } #endif |