Skip to content

Commit ca6d79e

Browse files
committed
Merge pull request arduino#47 from mapnull/feature
Bugfix: Fetch id through repeaters
2 parents 7fb9454 + e8f7cb1 commit ca6d79e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/MySensors/MySensor.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,10 @@ boolean MySensor::process() {
399399
//
400400
// lookup route in table and send message there
401401
sendWrite(route, msg);
402+
} else if (sender == GATEWAY_ADDRESS && destination == BROADCAST_ADDRESS) {
403+
// A net gateway reply to a message previously sent by us from a 255 node
404+
// We should broadcast this back to the node
405+
sendWrite(destination, msg, true);
402406
} else {
403407
// A message comes from a child node and we have no
404408
// route for it.

0 commit comments

Comments
 (0)