From b22d9084c8f100792f49026e2f7caa76369b7b15 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 15 Dec 2020 10:19:37 +0000 Subject: [PATCH] Add more POCSAG display information. --- POCSAGControl.cpp | 3 ++- Version.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/POCSAGControl.cpp b/POCSAGControl.cpp index d19255a..9623a0b 100644 --- a/POCSAGControl.cpp +++ b/POCSAGControl.cpp @@ -173,11 +173,12 @@ bool CPOCSAGControl::readNetwork() packNumeric(output->m_text, output->m_buffer); break; case FUNCTIONAL_ALERT1: + output->m_display = "Func alert 1"; LogDebug("Message to %07u, func Alert 1", output->m_ric); break; case FUNCTIONAL_ALERT2: output->m_text = std::string((char*)(data + 4U), length - 4U); - output->m_display = output->m_text; + output->m_display = "Func alert 2: " + output->m_text; LogDebug("Message to %07u, func Alert 2: \"%s\"", output->m_ric, output->m_display.c_str()); packASCII(output->m_text, output->m_buffer); break; diff --git a/Version.h b/Version.h index be4a078..efee250 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20201214"; +const char* VERSION = "20201215"; #endif