From c01734f4adf3286ff0c4c3f2adbbb3ad06a2dd85 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 13 Jun 2018 08:06:01 +0100 Subject: [PATCH] Temporary commit to maintain network compatibility with the DAPNET Gateway. --- POCSAGControl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/POCSAGControl.cpp b/POCSAGControl.cpp index ebcf800..1a6eb1d 100644 --- a/POCSAGControl.cpp +++ b/POCSAGControl.cpp @@ -83,7 +83,9 @@ bool CPOCSAGControl::processData() m_ric |= (data[1U] << 8) & 0x0000FF00U; m_ric |= (data[2U] << 0) & 0x000000FFU; - m_text = std::string((char*)(data + 3U), length - 3U); + // uint8_t functional = data[3U]; + + m_text = std::string((char*)(data + 4U), length - 4U); m_buffer.clear(); addAddress();