From 41edfe53c708b19d4f15c8791e078aa4ea097d22 Mon Sep 17 00:00:00 2001 From: MW0MWZ <66065904+MW0MWZ@users.noreply.github.com> Date: Tue, 13 May 2025 19:24:15 +0100 Subject: [PATCH] Update WiresX.cpp During WiresX mode Search, the reflector name should be Upper Case - this only matters during search - the normal display of the data can be mixed case. --- YSFGateway/WiresX.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/YSFGateway/WiresX.cpp b/YSFGateway/WiresX.cpp index 9f06420..134af9a 100644 --- a/YSFGateway/WiresX.cpp +++ b/YSFGateway/WiresX.cpp @@ -27,6 +27,7 @@ #include #include #include +#include const unsigned char DX_REQ[] = {0x5DU, 0x71U, 0x5FU}; const unsigned char CONN_REQ[] = {0x5DU, 0x23U, 0x5FU}; @@ -945,7 +946,7 @@ void CWiresX::sendSearchReply() data[i + offset + 1U] = refl->m_id.at(i); for (unsigned int i = 0U; i < 16U; i++) - data[i + offset + 6U] = refl->m_name.at(i); + data[i + offset + 6U] = std::toupper(refl->m_name.at(i)); for (unsigned int i = 0U; i < 3U; i++) data[i + offset + 22U] = refl->m_count.at(i);