From f6b81746a6132364db70a7574d781076e56d36b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Thu, 10 Jun 2021 09:55:51 +0200 Subject: [PATCH] Remove ip check since not needed any more due to discovery functionality --- mtec/integrationpluginmtec.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mtec/integrationpluginmtec.cpp b/mtec/integrationpluginmtec.cpp index 4da5de1..a15ba43 100644 --- a/mtec/integrationpluginmtec.cpp +++ b/mtec/integrationpluginmtec.cpp @@ -99,10 +99,6 @@ void IntegrationPluginMTec::setupThing(ThingSetupInfo *info) } qCDebug(dcMTec()) << "Using ip address" << hostAddress.toString(); - if (myThings().filterByParam(mtecThingIpAddressParamTypeId, hostAddress.toString()).count() > 0) { - info->finish(Thing::ThingErrorThingInUse, QT_TR_NOOP("IP address already in use by another thing.")); - return; - } // TODO: start timer and give 15 seconds until connected, since the controler is down for ~10 seconds after a disconnect