This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Zstack Pro connecting many router

Other Parts Discussed in Thread: CC2538, CC2592, Z-STACK

Hi,

I am connecting the routers to the coordinator in a line with each router having only 1 child, the example below shows what I would like to have.

 

ZC-->ZR1-->ZR2-->ZR3-->ZR4-->ZR5-->….. -->ZRn

However, after ZR6, the next router, ZR7, which I connect to the network causes the network to fail and all the routers will be disconnected. Only the router connected to the coordinator will be able to reestablish a connection with the coordinator. The other routers will remain disconnected and be unable to reestablish the network unless everything is reset and the 7th router is removed. 

i am using CC2538 + CC2592 with ZigBee Z-Stack-Home 1.2.2a

Thanks in advance!

  • I suggest you to use Ubiqua Packet Analyzer to check this issue.
  • Hi YiKai

    Here are the packet analysis for my network when I am connecting the node at depth 7. The  analysis shows the node requesting to join the network but does not join. Furthermore it looks like it is affecting the connection of the 6th node, causing it to request re-connection.

    7 Node.rar

    Finally here is the issue that occurs with the total breakdown of my network, causing the nodes to be unable to reestablish network connection unless everything is reset.

    Rejoin Issue.rar

  • Can you elaborate your sniffer log? Where do you see "the node requesting to join the network but does not join. Furthermore it looks like it is affecting the connection of the 6th node, causing it to request re-connection?" and where shows "total breakdown of my network, causing the nodes to be unable to reestablish network connection unless everything is reset?" By the way, what is your CC2538-CC2592 HW? Is it TI EVB?
  • My hardware is a custom board.

    On closer inspection i realize that this capture is not the best for what i am explaining as the 7th node seems to be connecting to the 5th node. But it still shows some issues.

    To expand on my setup, I have the nodes set up about 35m from each other in a line. Below shows my physical setup and the short/mac address for the nodes.

    7) 8319/A9CE > 6) D32A/A9AD > 5) 36B6/A992 > 4) DAAB/A9BB  > ect. > 0000

    In the first file, 7nodetest,  

    234 The association request/response between A9CE and 36B6

    Following which commands from 36B6 to 8319, a new short address which should be for the 7th node.

    296 New beacon request

    339 Association request between A9CE and 36B6

    Following which commands from 36B6 to 8319

    542 Association request between A9CE and 36B6

    Following which commands from 36B6 to 8319

    701 Association request and this time it seems to connect. A few broadcast and data packets from 8319 can be seen before the end of the file.

    The first file ends at 14:55:35 and the second file, 7nodetest2, starts at 15:55:41

    21 New beacon request

    189 Association request between A9CE and 36B6

    388 Association request between A9CE and 36B6

    487 Association request between A9CE and 36B6

    As you can see A9CE does not attempt to associate with the node at depth 6, D32A, at any point even though the node is nearer. Further more even when it does associate with the node 36B6 it does not send any data and shortly sends a new beacon request.

  • What's the distance between A9CE and 36B6? I suspect the RF performance of your custom board is not good enough for communication between A9CE and 36B6.
  • The distance between A9CE and 36B6 is about 70m. But as i mentioned in the last line i want A9CE to connect to D32A which is 35m from it
  • You can not control what ZR or ZC you want to connect from ZED. This is handled by Z-Stack. If D32A is closer to A9CE, Z-Stack should choose it but I don't know why it doesn't. Can you put your sniffer close to A9CE and check RSSI of beacon frame from 36B6 and D32A?
  • I will set up the test and do that. However, based on the current log which the sniffer was about 5m from D32A I see that the RSSI for the beacon frames range 45-50 for D32A and 55-60 for A9CE
  • Yes, I see RSSI of beacon frame from D32A is better than 36B6 and this might be because of sniffer was about 5m from D32A.