Add more debug printouts to ippdiscovery

This commit is contained in:
Anton Thomasson 2019-12-19 20:12:19 +01:00
parent 93faeec036
commit 7a6af2b17e

View file

@ -70,6 +70,8 @@ void IppDiscovery::discover() {
QByteArray bytes((char*)(query.raw()), query.size());
socket->writeDatagram(bytes, QHostAddress("224.0.0.251"), 5353);
qDebug() << "discovering";
}
void IppDiscovery::update()
@ -158,6 +160,13 @@ void IppDiscovery::readPendingDatagrams()
}
qDebug() << "ptrs" << ptrs;
qDebug() << "rps" << rps;
qDebug() << "ports" << ports;
qDebug() << "targets" << targets;
qDebug() << "AAs" << AAs;
qDebug() << "AAAAs" << AAAAs;
for(QMap<QString,QString>::Iterator it = ptrs.begin(); it != ptrs.end(); it++)
{
quint16 port = ports[it.value()];