aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2013-07-13 14:13:41 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2013-07-14 12:09:55 +0200
commit3ce7c3398102e49f5fe7411a8e0fb5700236a3c7 (patch)
treeb798127b560035369bf7f1c76b76a6bd0f226300 /grc
parentf80cd288dc3e268d9addfd9a0e903c8e56855166 (diff)
fcd: add support for FUNcube Dongle Pro+
The gnuradio block https://github.com/dl1ksv/gr-fcdproplus must be installed before building gr-osmosdr. Available named gains: Dongle Classic: LNA: -5 to 30 dB, in 2.5 dB steps MIX: 4 or 12 dB Dongle Pro+: LNA: 0 or 1, meaning off/on only. no information about real values. MIX: 0 or 1, meaning off/on only. no information about real values. BB: 0 to 59 dB, in 1 dB steps This patch also introduces optional "device" and "type" arguments which allow to override the values automatically picked by gr-osmosdr: osmocom_fft -a "fcd,device=hw:2,type=2" The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. Thanks to Alexey Bazhin for the initial patch and Volker Schroer for testing.
Diffstat (limited to 'grc')
-rw-r--r--grc/gen_osmosdr_blocks.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/grc/gen_osmosdr_blocks.py b/grc/gen_osmosdr_blocks.py
index bad04b2..a579aa6 100644
--- a/grc/gen_osmosdr_blocks.py
+++ b/grc/gen_osmosdr_blocks.py
@@ -115,7 +115,8 @@ The osmocom $sourk block:
While primarily being developed for the OsmoSDR hardware, this block as well supports:
#if $sourk == 'source':
- * FunCube Dongle through libgnuradio-fcd
+ * FUNcube Dongle through libgnuradio-fcd
+ * FUNcube Dongle Pro+ through gr-fcdproplus
* sysmocom OsmoSDR Devices through libosmosdr
#end if
* Great Scott Gadgets HackRF through libhackrf
@@ -142,7 +143,7 @@ Optional arguments are placed into [] brackets, remove the brackets before using
Lines ending with ... mean it's possible to bind devices together by specifying multiple device arguments separated with a space.
#if $sourk == 'source':
- fcd=0
+ fcd=0[,device=hw:2][,type=2]
hackrf=0[,buffers=32]
miri=0[,buffers=32] ...
rtl=serial_number ...