do not try to read passive messages from the bus

This commit is contained in:
John
2022-10-01 13:38:14 +02:00
parent b1d8f6f23b
commit c31eb4cabd
+1 -1
View File
@@ -728,7 +728,7 @@ void KnxHandler::handleGroupTelegram(knx_addr_t src, knx_addr_t dest, int len, c
logOtherInfo("knx", "unable to answer read request to %4.4x on write message", dest);
return; // impossible to answer
}
} else if (now >= msg->getLastUpdateTime() + g_maxReadAge) {
} else if (!msg->isPassive() && now >= msg->getLastUpdateTime() + g_maxReadAge) {
res = m_busHandler->readFromBus(msg, "");
if (res != RESULT_OK) {
return;