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.

CC2530: MAX_NODE_DEPTH

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

In order to allow only one router to be connected to the Zigbee coordinator without any child nodes, I attempted the following changes, but more than one router node still joined the network. What should I do?

result:

  • Hi qd,

    What Z-Stack version are you using?  Possible options include:

    • Immediately close the network after the device has joined, and do not re-open it
    • Modify NWK_MAX_DEVICE_LIST/NWK_MAX_ADDRESSES in nwk_globals.h
    • Set ZDSECMGR_TC_DEVICE_MAX in ZDSecMgr.h
    • Use install codes
    • Join ZEDs instead
    • Modify the joining ZRs to not allow more than one neighbor (ZC)
    • Request additional devices to leave the network one the Device Announce is detected.

    Regards,
    Ryan

  • Hello Ryan,

    in the screenshot I am using Z-Stack 2.5.1a, I just want to test this feature. In fact, I plan to use ZNP + host to implement a system where each layer can only connect to three routing devices, with a maximum of three layers. The coordinator will then send a message to its three routing devices, each of which will select one router to send instructions to the three routing devices on the third layer (different parent nodes), turning them into coordinators and creating the next network.

    This is just my immature idea, do you think it's feasible?

  • As this Z-Stack version has been deprecated for many years and is no longer on https://www.ti.com/tool/Z-STACK-ARCHIVE, it is increasingly difficult to support and I would implore you to consider migrating to Z-Stack 3.0.2 for your evaluation.

    I plan to use ZNP + host to implement a system where each layer can only connect to three routing devices, with a maximum of three layers

    Such network setup should be achievable given the correct Z-Stack configuration.

    send instructions to the three routing devices on the third layer (different parent nodes), turning them into coordinators and creating the next network.

    This is not scoped within the Zigbee Specification.  These routers would need to send a Leave Request to the original network and clear its network information (factory reset) in order to re-start as a new coordinator.  It can be achieved in theory but will require further application development.

    Regards,
    Ryan

  • Thank you for your answer, I will give it a try.