3 Xbees network

I’m new at this and I’m trying to make one network with 3 xbees.
One coordinator, one router and one end device. I want the coordinator send a message to router and the router send it to end device.
I think the destination adress are wrong. Can someone explain, or give one example, of how can I do it?
And i need to know the RSSI of each message, how can I get this information?

Sorry for bad english.

Hi allansf

For your configuration; in Coordinator, give Destination address of End device and vice versa i.e. in End device, give Destination address of Coordinator. It doesn’t matter what you give Destination address in router; if you need it just to hop the signals.My suggestion would be to give broadcast destination address(DH will be 0x0000 and DL will be 0xFFFF) to it. If all 3 of them have same PAN ID, then they will form a network automatically.

One interesting thing I would like to point out to you is that if the coordinator and end device are close enough, they may make a direct link between each other and the router will never be used.

To know RSSI ( Received Signal Strength Indication ) you can go to the terminal tab of X-CTU and then enter into command mode by typing ’ +++ ’ and then ‘ATDB’ command will return the rssi of the last received data packet. Below I have given a link of a pdf which can help you in knowing RSSI in xbee in more detailed way:

http://ftp1.digi.com/support/images/XST-AN012a-RSSI.pdf%20(364.83KB).pdf

Thank you ! Your post was very useful .

Hello killer32

you know how I can do to pass the message to the coordinator then to the router, then to the end device, back to the router and then to the coordinator?

Is important that the message pass trough the router.
I’m using the explorer board from sparkfun (https://www.sparkfun.com/products/9132). And I just connect the pin din to dout, in router and end device, to resend the message.

Did you understand what i want?

Hi allansf

Data will pass through router to end device only when router is coordinator’s child and end device is router’s child. To achieve this, you can place coordinator and end device at a distance apart that they can’t make direct network link, then place router between them.

To cross verify, look at the NC (Number of remaining children) parameter. Coordinator will have ‘A’ which means no end devices is its direct child. Router will have ‘B’ value meaning it has one immidiate child end device.

Just for your information, a coordinator can have maximum 10 (in hex ‘A’) children and a router can have max. 12 (in Hex ‘C’) children.