From e2192a9665484d951081081f5237afa820a11018 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 28 Jan 2024 23:04:26 +0100 Subject: [PATCH] increase sample rate to 1.2M to be able to decode MBus --- csdr/chain/rtl433.py | 2 +- htdocs/lib/Demodulator.js | 2 +- owrx/ism/rtl433.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/csdr/chain/rtl433.py b/csdr/chain/rtl433.py index 2feffc56..a45b50c0 100644 --- a/csdr/chain/rtl433.py +++ b/csdr/chain/rtl433.py @@ -5,7 +5,7 @@ from csdr.chain.demodulator import ServiceDemodulator class Rtl433(ServiceDemodulator): def getFixedAudioRate(self) -> int: - return 1000000 + return 1200000 def __init__(self): super().__init__( diff --git a/htdocs/lib/Demodulator.js b/htdocs/lib/Demodulator.js index 3cbb2725..e5fd4227 100644 --- a/htdocs/lib/Demodulator.js +++ b/htdocs/lib/Demodulator.js @@ -18,7 +18,7 @@ Filter.prototype.getLimits = function() { } else if (this.demodulator.get_modulation() === "dab") { max_bw = 1000000; } else if (this.demodulator.get_secondary_demod() === "ism") { - max_bw = 500000; + max_bw = 600000; } else { max_bw = (audioEngine.getOutputRate() / 2) - 1; } diff --git a/owrx/ism/rtl433.py b/owrx/ism/rtl433.py index 1d2e534c..3e8e4569 100644 --- a/owrx/ism/rtl433.py +++ b/owrx/ism/rtl433.py @@ -7,5 +7,5 @@ class Rtl433Module(ExecModule): super().__init__( Format.COMPLEX_FLOAT, Format.CHAR, - ["rtl_433", "-r", "cf32:-", "-F", "json", "-M", "time:unix", "-C", "si", "-s", "1000000"] + ["rtl_433", "-r", "cf32:-", "-F", "json", "-M", "time:unix", "-C", "si", "-s", "1200000"] )