add response to successfull command
This commit is contained in:
parent
6a73d592b4
commit
c8d4d82494
@ -109,5 +109,6 @@ void DevicePluginUdpCommander::readPendingDatagrams()
|
||||
datagram == device->paramValue("command").toByteArray() + "\n") {
|
||||
qDebug() << device->paramValue("name").toString() << " got command from" << sender.toString() << senderPort;
|
||||
emit emitEvent(Event(commandReceivedEventTypeId, device->id()));
|
||||
socket->writeDatagram("OK\n", sender, senderPort);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user