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.

终端节点奇怪的重入网现象

Other Parts Discussed in Thread: CC2530, Z-STACK

芯片:CC2530
协议栈:zigbee1.2.2a

硬件环境:1个协调器,1个电池终端节点。

软件部分配置

-DNV_RESTORE

协调器上电后没有允许入网

case ZDO_STATE_CHANGE:
        zclDevice_NwkState = (devStates_t)(pMsg->status);

if (zclDevice_NwkState == DEV_ZB_COORD) {
          zAddrType_t dstAddr;
          dstAddr.addrMode = Addr16Bit;
          dstAddr.addr.shortAddr = 0x00;
          ZDP_MgmtPermitJoinReq(&dstAddr, 0x00, 0, TRUE);

}

实际现象:

1,协调器组网后,终端节点正常入网。

2,拿掉终端节点电池。查看协调器关联表AssociatedDevList,协调器关联表中有这个终端节点的shortAddr。

3,通过烧录器,给协调器再烧录一次程序。(选择Erase and program),之后,协调器上电组建新的PANID,再查看关联表,已无前面的那个终端节点的shortAddr

4,电池节点上电,发现这个电池节点竟然会加入到这个新的PANID中,而且shortAddr还是原来的shortAddr

5,反复测试好多次了,都是如此。为何入网后的终端会这么随便的加入其它的网络?

谢谢解答!