I have a simple three XBee (version 2) node network consisting of one coordinator and two routers. Each XBee is connected to an Arduino. From my investigation I can send a message via the serial interface from the routers to the coordinator node.
On the coordinator I simply call:
while(xbeeSerial.available()){
char c = xbeeSerial.read();
...
}
to read from the serial connection.
On the routers I send messages via the serial connection like so:
xbeeSerial.print(...);
My question is: is there a way to send a serial broadcast from the coordinator node out to the routers? Is it a matter of simply calling the .print()
on the coordinator, or is there something else I need to do? From what I have tried simply calling .print()
on the coordinator does not broadcast to the router nodes.