Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1634 from cdjackson/zwave-update_on_ack
Browse files Browse the repository at this point in the history
Treat a SendDataMessage ACK as a received message.
  • Loading branch information
cdjackson committed Nov 3, 2014
2 parents ca09a5d + d282eb7 commit 55dd2ad
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ public boolean handleRequest(ZWaveController zController, SerialMessage lastSent
ZWaveNode node = zController.getNode(originalMessage.getMessageNode());
if(node == null)
break;

// Consider this as a received frame since the controller did receive an ACK from the device.
node.incrementReceiveCount();

// If the node is DEAD, but we've just received a message from it, then it's not dead!
if(node.isDead()) {
Expand Down

0 comments on commit 55dd2ad

Please sign in to comment.