mirror of https://github.com/nymea/nymea.git
add response to successfull command
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue