微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > 使能CHILD AGING后ZED周期性发出OrphanNotification是正常的吗?

使能CHILD AGING后ZED周期性发出OrphanNotification是正常的吗?

时间:10-02 整理:3721RD 点击:

协议栈:Z-Stack Home 1.2.2a

CPU:CC2530

请问,使能CHILD AGING后ZED周期性发出OrphanNotification是正常的吗?为什么呢?

(sniff文件见附件)

谢谢

正常的,可以研究下协议栈下面的这段话。

//======= Child Aging PARENT ROUTER (ZR/ZC) configuration ========
// You can setup a router to support Child Table Aging in 1 of 2 modes of
// operation. The first mode is NWK_PARENT_INFO_ORPHAN_NOTIFICATION and it
// expects end devices to use orphan scan periodically as a means of a keep-alive
// notification to the parent. The other mode is NWK_PARENT_INFO_MAC_DATA_POLL
// which uses the end device's MAC POLL request as the keep-alive notification.
// The first method is preferred for new devices, where the end devices provide
// support for it (which will be manditory in future Zigbee Home Automation
// Specifications).
// The second method is compatible with older end devices without the need for
// specific child aging support.
//
// The method supported by the router (or coordinator) is determined at build time
// by setting zgNwkParentInformation to either NWK_PARENT_INFO_ORPHAN_NOTIFICATION
// or NWK_PARENT_INFO_MAC_DATA_POLL.
//
// End device built with Child Table Aging support both methods, the method is
// determined by the parent and communicated at run-time.
#if ( ZG_BUILD_ENDDEVICE_TYPE )
uint8 zgNwkParentInformation = NWK_PARENT_INFO_UNDEFINED;
#else
uint8 zgNwkParentInformation = NWK_PARENT_INFO_ORPHAN_NOTIFICATION;
#endif

根据这段解释请问我该如何去刷新age域呢?让终端发送ORPHAN_NOTIFICATION?为什么要用这种机制呢?按我的理解只要父节点收到终端的data request就会自动更新该终端的age域吧

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top