increase ISM bandwidth; allow bandpass adjustments

This commit is contained in:
Jakob Ketterl 2024-01-28 19:39:01 +01:00
parent cb7e29f7bd
commit 6bc4572650
4 changed files with 5 additions and 5 deletions

View file

@ -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__(

View file

@ -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;
}

View file

@ -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"]
)

View file

@ -179,7 +179,7 @@ class Modes(object):
"ism",
"ISM",
underlying=["empty"],
bandpass=None,
bandpass=Bandpass(-125000, 125000),
requirements=["ism"],
squelch=False,
),