Hi! I am new to XBEE and I am trying to establish a mesh network with S2C. I have configured 2 XBEE S2C as routers and a third one as the coordinator on XCTU with the ZigBeeTHReg setting, API(2). I have used the XBEE library: XBEE-Arduino by Andre Wrapp; following closely to the examples “Series_2_TX” and “Series_2_RX”. Both routers were able to transmit messages to the coordinator. The coordinator was able to print out the messages from both routers in alternate order ie: “Message from A” followed by “Message from B”
However, when I test out the mesh network outdoors it didn’t work. I moved the position of Router A until the coordinator can’t receive any data and place the other router, router B, somewhere in the middle of the coordinator and router A. The coordinator can’t receive any messages from router A.
I was wondering what could be the problem? I expected Router B to receive the message from A automatically; I was in the network working mode on XCTU and the connection data shows:
Coord–>A–>B
when I placed B further from A indoors (both routers externally connected and coord connected to Laptop) before testing it outdoors. Am I missing out anything? Maybe it’s my code? In my code, I programmed router A to send the data to the coordinator address and was expecting Router B to pick that up and direct that message to the coordinator (do correct me if I am wrong). Thank you!