Re: XBee Series 2, Arduino codes

But to literally send their name, the code logic would be to Serial Print it?

On Arduino Joe:

Serial.print("<Joe:");
Serial.print(someData);
Serial.println(">");

On Arduino Sam:

Serial.print("<Sam:");
Serial.print(someData);
Serial.println(">");

On Arduino Tom:

Serial.print("<Tom:");
Serial.print(someData);
Serial.println(">");

On Arduino WhoTheXCares:

Serial.print("<WhoTheXCares:");
Serial.print(someData);
Serial.println(">");

PaulS:
On Arduino Joe:

Serial.print("<Joe:");

Serial.print(someData);
Serial.println(">");




On Arduino Sam:



Serial.print("<Sam:");
Serial.print(someData);
Serial.println(">");




On Arduino Tom:



Serial.print("<Tom:");
Serial.print(someData);
Serial.println(">");




On Arduino WhoTheXCares:



Serial.print("<WhoTheXCares:");
Serial.print(someData);
Serial.println(">");

Seems easy to do. So my Coordinator API just Serial.print(Serial.read());?

So my Coordinator API just Serial.print(Serial.read());?

In which case, it hardly seems useful to have an Arduino at the coordinator end.

PaulS:
In which case, it hardly seems useful to have an Arduino at the coordinator end.

Well, I do plan to use the Coordinator to lets say store information. And I will have Routers in API modes to read information that is being sent from other Routers. So, maybe like Router A receives data and Router B transmits data. Once Router A receives the data, it will send this data to Coordinator and the Coordinator will store it in maybe an excel file? Something like that. But this example only creates the scenario for 2 Routers and 1 Coordinators in a mesh network. I hope to do this maybe with 5 routers and 1 Coordinator.