From 6bcba28979016abd0b3dc10aa9ee1a0d85d48c48 Mon Sep 17 00:00:00 2001 From: f-kessler Date: Tue, 3 Oct 2017 11:39:57 +0200 Subject: [PATCH] changed to send complete data to multicastAlarm for buffering --- includes/decoders/poc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/decoders/poc.py b/includes/decoders/poc.py index 552f06d..4813b9a 100644 --- a/includes/decoders/poc.py +++ b/includes/decoders/poc.py @@ -135,7 +135,8 @@ def decode(freq, decoded): if globalVars.config.getint("multicastAlarm", "multicastAlarm") and (data["msg"] == "" or data["ric"] == globalVars.config.get("multicastAlarm", "multicastAlarm_delimiter_ric")): logging.debug(" - multicastAlarm or delimiter RIC received - buffer alarms until text received") from includes import multicastAlarm - multicastAlarm.newEntrymultiList("POC", poc_id, poc_sub, poc_text) + multicastAlarm.newEntrymultiList("POC", freq, data) + # multicastAlarm processing if enabled and alarm message has been received elif globalVars.config.getint("multicastAlarm", "multicastAlarm") and data["msg"] != "" and data["ric"] == globalVars.config.get("multicastAlarm", "multicastAlarm_ric"): logging.debug(" - multicastAlarm RIC with text message")