Fix flooding the network with ZGP broadcasts
In a network with multiple ZGP devices (FoH switch,..) the ZGP proxy keep alive broadcast
could have been send in the while loop without taking a break after each broadcast.
The fix adds a minimum delay of one second (idle timer delay) between each broadcast.
@@ -16104,7 +16104,9 @@ void DeRestPlugin::idleTimerFired()
{
if (GP_SendPairingIfNeeded(sensorNode, d->apsCtrl, d->zclSeq + 1))
{
+ processSensors = true;
d->zclSeq++;
+ break;
}
}
