From db069edd1bf70658c89644aafd539532529ca294 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Fri, 12 May 2017 17:19:39 +0100 Subject: [PATCH] Add extra logging to XLX data. --- DMRGateway.cpp | 5 +++++ Version.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/DMRGateway.cpp b/DMRGateway.cpp index 281b338..bc587cf 100644 --- a/DMRGateway.cpp +++ b/DMRGateway.cpp @@ -420,6 +420,11 @@ int CDMRGateway::run() m_repeater->write(data); status[m_xlxSlot] = DMRGWS_REFLECTOR; timer[m_xlxSlot]->start(); + } else { + unsigned int slotNo = data.getSlotNo(); + unsigned int dstId = data.getDstId(); + FLCO flco = data.getFLCO(); + LogWarning("XLX, Unexpected data from slot %u %s%u", slotNo, flco == FLCO_GROUP ? "TG" : "", dstId); } } } diff --git a/Version.h b/Version.h index ab9c08a..95f6729 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20170511"; +const char* VERSION = "20170512"; #endif