aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-24 11:51:41 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-24 11:51:41 +0100
commit6ed54a9159b6fb938f27a0542e790eb4acc645b3 (patch)
tree57aea8f4dd5d6f924940b460fb3557baae8d1567
parent61d57ab75ce1c57708dcd8602574301e70932aca (diff)
downloadmmbtools-aux-6ed54a9159b6fb938f27a0542e790eb4acc645b3.tar.gz
mmbtools-aux-6ed54a9159b6fb938f27a0542e790eb4acc645b3.tar.bz2
mmbtools-aux-6ed54a9159b6fb938f27a0542e790eb4acc645b3.zip
Add hackrf and soapy dabmod examples
-rw-r--r--hackrf.ini37
-rw-r--r--soapy.ini60
2 files changed, 97 insertions, 0 deletions
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