mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 22:17:34 +00:00
break apart the ever-growing owrx/source.py
This commit is contained in:
parent
5b08dae28d
commit
292fe80acf
20 changed files with 1043 additions and 980 deletions
9
owrx/source/hackrf.py
Normal file
9
owrx/source/hackrf.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from . import SdrSource
|
||||
|
||||
|
||||
class HackrfSource(SdrSource):
|
||||
def getCommand(self):
|
||||
return "hackrf_transfer -s {samp_rate} -f {tuner_freq} -g {rf_gain} -l{lna_gain} -a{rf_amp} -r-"
|
||||
|
||||
def getFormatConversion(self):
|
||||
return "csdr convert_s8_f"
|
||||
Loading…
Add table
Add a link
Reference in a new issue