From c8d4d8249429e29769e767263422c8f8ba4bb520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 12 Jun 2015 16:40:56 +0200 Subject: [PATCH] add response to successfull command --- plugins/deviceplugins/udpcommander/devicepluginudpcommander.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/deviceplugins/udpcommander/devicepluginudpcommander.cpp b/plugins/deviceplugins/udpcommander/devicepluginudpcommander.cpp index 8b9717b2..85e0b794 100644 --- a/plugins/deviceplugins/udpcommander/devicepluginudpcommander.cpp +++ b/plugins/deviceplugins/udpcommander/devicepluginudpcommander.cpp @@ -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); } }