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 1/2] 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); From d2044019a42e286ff1580768a68a98c507dc369c Mon Sep 17 00:00:00 2001 From: MW0MWZ <66065904+MW0MWZ@users.noreply.github.com> Date: Wed, 14 May 2025 00:21:22 +0100 Subject: [PATCH 2/2] Update WiresX.cpp additional Uppercase on the ALL reply as well as the search. --- YSFGateway/WiresX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSFGateway/WiresX.cpp b/YSFGateway/WiresX.cpp index 134af9a..d547535 100644 --- a/YSFGateway/WiresX.cpp +++ b/YSFGateway/WiresX.cpp @@ -853,7 +853,7 @@ void CWiresX::sendAllReply() 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);