[insteon] Fix legacy all link broadcast message not processed (#18049)
Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>4.3.x
parent
b0560d707a
commit
cac757ae81
|
@ -517,7 +517,7 @@ public class InsteonLegacyBinding implements LegacyDriverListener, LegacyPortLis
|
|||
|
||||
private void handleInsteonMessage(Msg msg) throws FieldException {
|
||||
InsteonAddress toAddr = msg.getInsteonAddress("toAddress");
|
||||
if (!msg.isBroadcast() && !driver.isMsgForUs(toAddr)) {
|
||||
if (!msg.isBroadcast() && !msg.isAllLinkBroadcast() && !driver.isMsgForUs(toAddr)) {
|
||||
// not for one of our modems, do not process
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -336,7 +336,7 @@ public class LegacyDevice {
|
|||
if (qe == null) {
|
||||
return 0L;
|
||||
}
|
||||
if (!qe.getMsg().isBroadcast()) {
|
||||
if (!qe.getMsg().isAllLinkBroadcast()) {
|
||||
logger.debug("qe taken off direct: {} {}", qe.getFeature(), qe.getMsg());
|
||||
lastQueryTime = timeNow;
|
||||
// mark feature as pending
|
||||
|
@ -384,7 +384,7 @@ public class LegacyDevice {
|
|||
synchronized (mrequestQueue) {
|
||||
mrequestQueue.add(new QEntry(feature, msg, now + delay));
|
||||
}
|
||||
if (!msg.isBroadcast()) {
|
||||
if (!msg.isAllLinkBroadcast()) {
|
||||
msg.setQuietTime(QUIET_TIME_DIRECT_MESSAGE);
|
||||
}
|
||||
logger.trace("enqueing direct message with delay {}", delay);
|
||||
|
|
Loading…
Reference in New Issue