mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-03-19 03:14:39 +01:00
increase ISM bandwidth; allow bandpass adjustments
This commit is contained in:
parent
cb7e29f7bd
commit
6bc4572650
|
|
@ -5,7 +5,7 @@ from csdr.chain.demodulator import ServiceDemodulator
|
|||
|
||||
class Rtl433(ServiceDemodulator):
|
||||
def getFixedAudioRate(self) -> int:
|
||||
return 250000
|
||||
return 1000000
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ Filter.prototype.getLimits = function() {
|
|||
max_bw = 4000;
|
||||
} else if (this.demodulator.get_modulation() === "dab") {
|
||||
max_bw = 1000000;
|
||||
} else if (this.demodulator.get_secondary_demod() === "ism") {
|
||||
max_bw = 500000;
|
||||
} else {
|
||||
max_bw = (audioEngine.getOutputRate() / 2) - 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,5 @@ class Rtl433Module(ExecModule):
|
|||
super().__init__(
|
||||
Format.COMPLEX_FLOAT,
|
||||
Format.CHAR,
|
||||
["rtl_433", "-r", "cf32:-", "-F", "json", "-M", "time:unix", "-C", "si"]
|
||||
["rtl_433", "-r", "cf32:-", "-F", "json", "-M", "time:unix", "-C", "si", "-s", "1000000"]
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ class Modes(object):
|
|||
"ism",
|
||||
"ISM",
|
||||
underlying=["empty"],
|
||||
bandpass=None,
|
||||
bandpass=Bandpass(-125000, 125000),
|
||||
requirements=["ism"],
|
||||
squelch=False,
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue