mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
For #1936 - Use separate date/time fields and prefix address with leading 0.
This commit is contained in:
parent
bb406ca9a8
commit
97847425bb
@ -179,9 +179,11 @@ bool PagerDemod::handleMessage(const Message& cmd)
|
|||||||
if (m_settings.m_udpEnabled)
|
if (m_settings.m_udpEnabled)
|
||||||
{
|
{
|
||||||
QByteArray message;
|
QByteArray message;
|
||||||
message.append(report.getDateTime().toString().toLatin1());
|
message.append(report.getDateTime().date().toString().toLatin1());
|
||||||
message.append('\0');
|
message.append('\0');
|
||||||
message.append(QString::number(report.getAddress()).toLatin1());
|
message.append(report.getDateTime().time().toString().toLatin1());
|
||||||
|
message.append('\0');
|
||||||
|
message.append(QString("%1").arg(report.getAddress(), 7, 10, QChar('0')).toLatin1());
|
||||||
message.append('\0');
|
message.append('\0');
|
||||||
message.append(QString::number(report.getFunctionBits()).toLatin1());
|
message.append(QString::number(report.getFunctionBits()).toLatin1());
|
||||||
message.append('\0');
|
message.append('\0');
|
||||||
|
Loading…
Reference in New Issue
Block a user