1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 14:34:57 -04:00

Server: added PlutoSDR input plugin

This commit is contained in:
f4exb
2018-05-29 20:27:36 +02:00
parent 362e8a629d
commit 3e31a8b23b
6 changed files with 91 additions and 4 deletions
+1
View File
@@ -186,6 +186,7 @@ def setupDevice(deviceset_url, options):
settings['plutoSdrInputSettings']['fcPos'] = options.fc_pos
settings['plutoSdrInputSettings']['dcBlock'] = options.fc_pos == 2
settings['plutoSdrInputSettings']['iqImbalance'] = options.fc_pos == 2
settings['plutoSdrInputSettings']['LOppmTenths'] = int(options.lo_ppm * 10) # in tenths of PPM
elif options.device_hwid == "RTLSDR":
settings['rtlSdrSettings']['devSampleRate'] = options.sample_rate*1000
settings['rtlSdrSettings']['centerFrequency'] = options.device_freq*1000