From 91ed0a7abfbd537a2071c82cb5a550eefeaf47e9 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Sun, 5 May 2024 15:19:22 -0400 Subject: [PATCH] Fixed background PAGE decoding with a workaround for now. --- CHANGELOG.md | 4 +++- csdr/chain/toolbox.py | 8 +++++++- debian/changelog | 4 +++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b11f201..acf8e9bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,14 @@ - Added MQTT reporting of SDR profile and status changes. - SDR changes reported via "openwebrx/RX" MQTT topic. - Decodes reported via "openwebrx/" MQTT topics. +- Fixed background PAGE decoding with a workaround. +- Fixed Selector API errors when withSquelch=False. - Switched PAGE decoders to millisecond timestamps. - Switched PAGE and ISM file recording to JSON. - Separated FLEX baud rate from channel number. - Made relevant PAGE JSON fields integer. - Cleaned up TextParser, PAGE, and ISM decoders. -- Fixed Selector API errors when withSquelch=False. +- Added debug code to print module chains. **1.2.57** - Added user-selectable waterfall color themes. diff --git a/csdr/chain/toolbox.py b/csdr/chain/toolbox.py index e87a3b43..b3b088ab 100644 --- a/csdr/chain/toolbox.py +++ b/csdr/chain/toolbox.py @@ -74,7 +74,13 @@ class PageDemodulator(MultimonDemodulator): def __init__(self, service: bool = False): super().__init__( ["FLEX", "POCSAG512", "POCSAG1200", "POCSAG2400"], - PageParser(service=service) + PageParser(service=service), + # Enabling squelch in background mode just to make sure + # multimon-ng is fed data in large chunks (>=512 samples). + # POCSAG mode will not work otherwise, due to some issue + # in multimon-ng. In the interactive mode, similar effect + # is achieved by the Squelch() module in the main chain. + withSquelch = service ) diff --git a/debian/changelog b/debian/changelog index a7371acf..6438e971 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,12 +3,14 @@ openwebrx (1.2.58) bullseye jammy; urgency=low * Added MQTT reporting of SDR profile and status changes. * SDR changes reported via "openwebrx/RX" MQTT topic. * Decodes reported via "openwebrx/" MQTT topics. + * Fixed background PAGE decoding with a workaround. + * Fixed Selector API errors when withSquelch=False. * Switched PAGE decoders to millisecond timestamps. * Switched PAGE and ISM file recording to JSON. * Separated FLEX baud rate from channel number. * Made relevant PAGE JSON fields integer. * Cleaned up TextParser, PAGE, and ISM decoders. - * Fixed Selector API errors when withSquelch=False. + * Added debug code to print module chains. -- Marat Fayzullin Mon, 6 May 2024 16:12:00 +0000