aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2015-05-27 23:55:00 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2015-05-27 23:55:00 +0200
commit594391982845b4ac0e4e48bbb91b4b85552f2af6 (patch)
tree9c53c565aa251701ec566dfa3deb21d076661ecb /grc
parent44c223cb5d473a760877e8c8b2d58e2638173192 (diff)
hackrf: introduce bias=0|1 and bias_tx=0|1 parameters
... to support antenna/phantom power via a new device argument "bias" (to match Airspy's existing bias power syntax). 0=disable and 1=enable. I also added a device argument to control bias power at transmit time. I named this option differently - "bias_tx" - to avoid accidentally enabling bias power in transmit mode when an LNA may be attached in an input amplifier configuration. Original patch provided by Brad Hein
Diffstat (limited to 'grc')
-rw-r--r--grc/gen_osmosdr_blocks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gen_osmosdr_blocks.py b/grc/gen_osmosdr_blocks.py
index ecf7dcc..174c591 100644
--- a/grc/gen_osmosdr_blocks.py
+++ b/grc/gen_osmosdr_blocks.py
@@ -253,7 +253,7 @@ Lines ending with ... mean it's possible to bind devices together by specifying
sdr-iq=/dev/ttyUSB0
airspy=0[,bias=0|1]
#end if
- hackrf=0[,buffers=32]
+ hackrf=0[,buffers=32][,bias=0|1][,bias_tx=0|1]
bladerf=0[,fpga='/path/to/the/bitstream.rbf']
uhd[,serial=...][,lo_offset=0][,mcr=52e6][,nchan=2][,subdev='\\\\'B:0 A:0\\\\''] ...