From 9914c43e1a6e6e82a1f80ae127aba4afc2617559 Mon Sep 17 00:00:00 2001 From: g0wfv Date: Thu, 1 Jun 2017 16:40:14 +0100 Subject: [PATCH] Add status request (while connected only I think) to XLX - PC to 5000 (plus base!) --- DMRGateway.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DMRGateway.cpp b/DMRGateway.cpp index 2d68556..43d5003 100644 --- a/DMRGateway.cpp +++ b/DMRGateway.cpp @@ -424,6 +424,9 @@ int CDMRGateway::run() if (dstId != m_xlx1Reflector) { if (dstId == 4000U) { LogMessage("XLX-1, Unlinking"); + } elseif (dstId == 5000U) { + // Status XLX-1 here + voice1->linkedTo(m_xlx1Reflector); } else { if (m_xlx1Reflector != 4000U) writeXLXLink(srcId, 4000U, m_xlxNetwork1); @@ -458,6 +461,9 @@ int CDMRGateway::run() if (dstId != m_xlx2Reflector) { if (dstId == 4000U) { LogMessage("XLX-2, Unlinking"); + } elseif (dstId == 5000U) { + // Status XLX-2 here + voice2->linkedTo(m_xlx1Reflector); } else { if (m_xlx2Reflector != 4000U) writeXLXLink(srcId, 4000U, m_xlxNetwork2);