From 6ed54a9159b6fb938f27a0542e790eb4acc645b3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 24 Feb 2017 11:51:41 +0100 Subject: Add hackrf and soapy dabmod examples --- hackrf.ini | 37 +++++++++++++++++++++++++++++++++++++ soapy.ini | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 hackrf.ini create mode 100644 soapy.ini diff --git a/hackrf.ini b/hackrf.ini new file mode 100644 index 0000000..e47e00e --- /dev/null +++ b/hackrf.ini @@ -0,0 +1,37 @@ +[remotecontrol] +telnet=1 +telnetport=2121 + +[input] +;transport=zeromq +;source=tcp://core.mpb.li:9100 +;max_frames_queued=800 + +transport=file +source=/dev/stdin + +[modulator] +gainmode=var +digital_gain=2.4 +rate=4096000 +mode=1 + +[firfilter] +enabled=1 + +[output] +output=file + +[fileoutput] +format=s8 +filename=/dev/stdout + + +[tii] +; (experimental) +; If these options are set, TII transmission is enabled. +; DAB modes I and II are supported, and must be set explicitly in +; this file. Reading DAB mode from ETI is not supported. +enable=0 +comb=16 +pattern=3 diff --git a/soapy.ini b/soapy.ini new file mode 100644 index 0000000..4a32358 --- /dev/null +++ b/soapy.ini @@ -0,0 +1,60 @@ +; Sample configuration file for ODR-DabMod +; using a zeromq input + +[remotecontrol] +telnet=1 +telnetport=2121 +zmqctrl=1 +zmqctrlendpoint=tcp://127.0.0.1:2122 + +[log] +syslog=0 +filelog=0 +filename=/dev/stderr + +[input] +;transport=file +;source=/dev/stdin +transport=zeromq +source=tcp://mpb.li:9100 +loop=0 +max_frames_queued=400 + +[modulator] +; Gain mode: 0=FIX, 1=MAX, 2=VAR +gainmode=2 + +; Transmission mode +; If not defined, take the mode from ETI +mode=1 + +; Set to 0 to disable CicEqualiser +dac_clk_rate=0 + +digital_gain=0.8 + +; Output sample rate +rate=2048000 + +[firfilter] +enabled=0 +filtertapsfile=filter/simplefiltertaps.txt + +[output] +output=soapysdr + +[fileoutput] +filename=/dev/null + +[soapyoutput] +device= +master_clock_rate=32768000 +txgain=40 +;frequency=234208000 +channel=13C + +; Used for SFN with the UHD output +[delaymanagement] +synchronous=0 + +offset=2.0 -- cgit v1.2.3