|
|
@ -644,15 +644,13 @@ void CWiresX::sendAllReply()
|
|
|
|
for (unsigned int i = 0U; i < 10U; i++)
|
|
|
|
for (unsigned int i = 0U; i < 10U; i++)
|
|
|
|
data[i + 12U] = m_node.at(i);
|
|
|
|
data[i + 12U] = m_node.at(i);
|
|
|
|
|
|
|
|
|
|
|
|
data[22U] = '0';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int total = curr.size();
|
|
|
|
unsigned int total = curr.size();
|
|
|
|
if (total > 999U) total = 999U;
|
|
|
|
if (total > 999U) total = 999U;
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int n = curr.size() - m_start;
|
|
|
|
unsigned int n = curr.size() - m_start;
|
|
|
|
if (n > 20U) n = 20U;
|
|
|
|
if (n > 20U) n = 20U;
|
|
|
|
|
|
|
|
|
|
|
|
::sprintf((char*)(data + 23U), "%02u%03u", n, total);
|
|
|
|
::sprintf((char*)(data + 22U), "%03u%03u", n, total);
|
|
|
|
|
|
|
|
|
|
|
|
data[28U] = 0x0DU;
|
|
|
|
data[28U] = 0x0DU;
|
|
|
|
|
|
|
|
|
|
|
|