Update config_webrx.py

1, change temporary_directory to '/dev/shm'
2, add "device" parameter to hardware detail
This commit is contained in:
d9394 2019-10-28 15:57:43 +08:00 committed by GitHub
parent db663fe134
commit b4eca05715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,12 +98,14 @@ Note: if you experience audio underruns while CPU usage is 100%, you can:
################################################################################################# #################################################################################################
# Currently supported types of sdr receivers: "rtl_sdr", "sdrplay", "hackrf", "airspy" # Currently supported types of sdr receivers: "rtl_sdr", "sdrplay", "hackrf", "airspy"
# With "hackrf, airspy" , "device" is the device of specified serial number
sdrs = { sdrs = {
"rtlsdr": { "rtlsdr": {
"name": "RTL-SDR USB Stick", "name": "RTL-SDR USB Stick",
"type": "rtl_sdr", "type": "rtl_sdr",
"ppm": 0, "ppm": 0,
"device": "0",
# you can change this if you use an upconverter. formula is: # you can change this if you use an upconverter. formula is:
# shown_center_freq = center_freq + lfo_offset # shown_center_freq = center_freq + lfo_offset
# "lfo_offset": 0, # "lfo_offset": 0,
@ -130,6 +132,7 @@ sdrs = {
"name": "SDRPlay RSP2", "name": "SDRPlay RSP2",
"type": "sdrplay", "type": "sdrplay",
"ppm": 0, "ppm": 0,
"device": "0",
"profiles": { "profiles": {
"20m": { "20m": {
"name": "20m", "name": "20m",
@ -260,7 +263,7 @@ wsjt_decoding_depth = 3
# jt65 seems to be somewhat prone to erroneous decodes, this setting handles that to some extent # jt65 seems to be somewhat prone to erroneous decodes, this setting handles that to some extent
wsjt_decoding_depths = {"jt65": 1} wsjt_decoding_depths = {"jt65": 1}
temporary_directory = "/tmp" temporary_directory = "/dev/shm"
services_enabled = False services_enabled = False
services_decoders = ["ft8", "ft4", "wspr", "packet"] services_decoders = ["ft8", "ft4", "wspr", "packet"]