mirror of
https://github.com/oe7drt/YSFClients.git
synced 2025-12-06 05:32:02 +01:00
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.
This commit is contained in:
parent
c3580fdcd3
commit
41edfe53c7
|
|
@ -27,6 +27,7 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <cctype>
|
||||||
|
|
||||||
const unsigned char DX_REQ[] = {0x5DU, 0x71U, 0x5FU};
|
const unsigned char DX_REQ[] = {0x5DU, 0x71U, 0x5FU};
|
||||||
const unsigned char CONN_REQ[] = {0x5DU, 0x23U, 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);
|
data[i + offset + 1U] = refl->m_id.at(i);
|
||||||
|
|
||||||
for (unsigned int i = 0U; i < 16U; 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++)
|
for (unsigned int i = 0U; i < 3U; i++)
|
||||||
data[i + offset + 22U] = refl->m_count.at(i);
|
data[i + offset + 22U] = refl->m_count.at(i);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue