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.

Failure Coordinator realignment

Other Parts Discussed in Thread: Z-STACK

Hello,

I'm developing a mesh network system with coordinator, routers and end devices. When i test the systm rejoining process of my devices i checkd that end devices have some problems in the rejoining process. Let me explain step by step my procedure:

1- Create a network with coordinator A in channel 12, with PAN ID 0x15F8;

2- Added 2 router devices (Router A and B) to network created by coordinator A;

3-  Added 1 End devoice (End device A) to same network of last 2 steps (0x15F8@channel 12). Its parente was Router B

NOTE: Every thinks ook until this point.

4- I Resets Network A (Coordinator A) and reset the router A and End Device A. (The router B still working in the same network A );

5- Create another network with same coordinator (Coordinator A) but in the channel 22. The network stays with PANID 0x543A;

6- I Added the Router A and End device A to network 0x543A.

7- After that i turn off End device A and turn on Again. The ED will enter in orphan mode and start sending Orphan notifications for alla channels to reestablish the network. In this step start my problems because the orphan notification can starts n channel 11 and step forward until channel 26, but in channel 12 i have a coordinator realignment response from Router B (that wasn't in the same network but was is parente in the first network created). The device stop sending orphan notificantions and never rejoi the network.

I debug the code and when End device receives the coordinator realignment (I can process that event in ZDO_JoinConfirmCB function) thge network status becames at 0xEA (MAC_NO_BEACON) but i dn't have any information about channel that event occurs. Can any one explain me if in this point i can check the channel that End device receives Failure Coordinator realignment for i can ignore that channel in the next NLME_OrphanJoinRequest?

Thank for all

Nalves

  • Hi Nalves,

    Seems like there is no such information available on this notification to get the channel, usually you could use NwkDescList to see the list of networks found, but seems like this is not the case.

    Do you have enabled NV_RESTORE flag?, seems like the orphan Scan should be done in the channel retrieve from _NIB.nwkLogicalChannel, if you have it, for which the ZED would do the Orphan scan in the last network it was. If that does not work, perhaps you will have to attempt each channel until any success or start a rejoin in all channels if you don't get any Coordinator realignment.

    Hope this helps!

  • Hi Nalves,

    I did a quick test on Z-Stack HA 1.2.2a of the answer above and it works. The ZED device does send Orphan notification in the channel in the last channel being commissioned.
    Which version of the Z-Stack are you using?, which device (CC253x, 26xx)? are you using a sample project?
  • Hi Luis,

    Answer to your questions, the NV_RESTORE is enable.

    After some tests before your post i test the procedure with the orphan notification delivered only for End device comunication channel, and the results seems to be more clear. The orphan notification doesn't have any coordinator realignment response and it doesn´t change other parente.

    I found the next post in this forum that resolve all my problems:

    https://e2e.ti.com/support/wireless_connectivity/zigbee_6lowpan_802-15-4_mac/f/158/p/275570/966204#966204


    Basically, all the procedure was changed and after an orphan notification failure, the end device enter in Rejoin mode and try to find network in all channels. The device will receive a permit re-association from is last parente or from another device.

    Many thanks for your help.

    Best regards,

    Nalves