Merge pull request #47 from mapnull/feature
Bugfix: Fetch id through repeaters
This commit is contained in:
@@ -399,6 +399,10 @@ boolean MySensor::process() {
|
|||||||
//
|
//
|
||||||
// lookup route in table and send message there
|
// lookup route in table and send message there
|
||||||
sendWrite(route, msg);
|
sendWrite(route, msg);
|
||||||
|
} else if (sender == GATEWAY_ADDRESS && destination == BROADCAST_ADDRESS) {
|
||||||
|
// A net gateway reply to a message previously sent by us from a 255 node
|
||||||
|
// We should broadcast this back to the node
|
||||||
|
sendWrite(destination, msg, true);
|
||||||
} else {
|
} else {
|
||||||
// A message comes from a child node and we have no
|
// A message comes from a child node and we have no
|
||||||
// route for it.
|
// route for it.
|
||||||
|
|||||||
Reference in New Issue
Block a user