1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Merge pull request #1937 from srcejon/freq_scanner

Pager UDP packet update
This commit is contained in:
Edouard Griffiths 2023-12-25 23:47:10 +01:00 committed by GitHub
commit 3be8815340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,9 +179,11 @@ bool PagerDemod::handleMessage(const Message& cmd)
if (m_settings.m_udpEnabled)
{
QByteArray message;
message.append(report.getDateTime().toString().toLatin1());
message.append(report.getDateTime().date().toString().toLatin1());
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(QString::number(report.getFunctionBits()).toLatin1());
message.append('\0');