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.

关于父节点丢失重连和长地址通信问题解决办法,恳请TI工程师解答



我们公司是做Zigbee系列智能家居产品的。

问题描述:

1、父节点丢失(断电或者设备损坏)后,子节点重连处理方法?

找过之前的论坛问题解答,其中VV大神提出了如下方法:

1)、通过心跳数据包或者定时查询网络状态来判断父节点是否丢失。

2)、开启了NV_RESTORE,清除网络相关NV数据,重新入网。

3)、未开启NV_RESTORE,直接SystemReset()。

关于2)中清除网络相关NV数据,能否具体指出?3)中调用SystemReset(),如果不重启,清除哪些相关变量重新入网可解决?

2、长地址通信中,属于广播方式还是点对点?长地址是IEEE 地址还是Secondary地址,如果能用Secondary地址通信,具体实现代码能否给个示例?

如:

SampleApp_PointToPoint_DstAddr.addrMode = (afAddrMode_t)Addr64Bit;
SampleApp_PointToPoint_DstAddr.endPoint = SAMPLEAPP_ENDPOINT;

for(i=0;i<8;i++)
    SampleApp_PointToPoint_DstAddr.addr.extAddr[i]= New_Mac_Addr[i];