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.

How to control new child join parent priority

Other Parts Discussed in Thread: Z-STACK, CC2430

The following words are from DN201:

In a typical Zigbee network, devices will automatically join the network and pick the best parent to join. The device will join as high up the tree as possible and will join the parent that has the highest LQI.............

So, my question is "How to bypass the join as high up the tree as possible setting?" and how to use "has the highest LQI" instead. I'm using CC2430 with z-stack 1.4.3-1.2.1

Thanks and Happy New Year!

Henry

  • update my solution here:

    I have no idea about how to control the new node joining priority. but I found a way to control the parents. It works fine till now.

    That is "randomly" enable or disable the parent's ability in response of new nodes join beacon request.

    NLME_PermitJoiningRequest( x );

    We can use above function to control whether the router or coordinator sends "welcome" sign to the new nodes which wants to join network.

    x==0 means disable. other value means how long (in seconds) the parent node is allowing new node to join.

    So, after this, you can see only partial parents can accept new node join request in the same time, it avoids the bottle neck in joining process. :)

    please also refer to: http://community.ti.com/forums/t/399.aspx

     

    Henry

  • there isn't really way to change this because this is what it says in the zigbee spec to do, join highest up the tree if you can. Fortunately, or unfortunately, this also means
    that you could have a worse link with the higher up parent and still join it. The smart way, as you have already discovered is to use NLME_PermitJoiningRequest,
    and actually, if you want to manage this from a central location, you can use the ZDO management request version which allows you to send this request to a
    remote device, and  you can have your commissioning application set this all up.

  • Mr. Zed,

    You are the MAN, thank you for your comments.

    Henry