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: How to trigger network address change

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

With reference to the above post...

who assigns the new network address to the node that has been moved..?

We tried this steps to trigger the network address change but we're unsuccessful..

1. We added a new router 'R' to an existing network of a coordinator and  approx 30 routers..

2. Then we powered off the parent node 'P' to which the new node 'R' was associated..

3. Now we rebooted the new node 'R'

What's wrong with this approach?

What else can we try to trigger the network address change?

  • When a device joins network, Z-Stack would assign a specific short address and it won’t change. Unless you send leave request to the device and join the device from scratch, the short address might change.

  • I would assume that the new ZR parent would assign the network address based on Zigbee PRO 2012 Specification Section 3.6.1.6 (Distributed Address Assignment Mechanism):

    A parent device that has a Cskip(d) value greater than 0 shall accept child devices and shall assign addresses to them differently depending on whether or not the child device is router-capable. Network addresses shall be assigned to router-capable child devices using the value of Cskip(d) as an offset. A parent assigns an address that is 1 greater than its own to its first router-capable child device. Subsequently assigned addresses to router-capable child devices are separated from each other by Cskip(d). A maximum of nwkMaxRouters of such addresses shall be assigned.

    I would assume that these devices are perhaps leaving the network and performing a new join instead of a rejoin when they are assigned a new network address.  Another option is that there is an address conflict which causes re-assignment, you can read more about this in 3.6.1.9 of the Spec.  The best thing you can do is capture the activity with a sniffer log.  This would confirm that devices really are being re-assigned network addresses.  ZigBee_Pro_2012_Specification.pdf

    Regards,
    Ryan