微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > Z-Stack Home 1.2.2a zgChildAgingEnable使能后, 发Orphan notification包, 原来是Data Request。

Z-Stack Home 1.2.2a zgChildAgingEnable使能后, 发Orphan notification包, 原来是Data Request。

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

请教TI的工程师, 通过抓包软件,发现 zgChildAgingEnable使能后, 现在都是Orphan notification,  原来是Data request。

孤儿通知

这种情况有问题吗?

有帖子说是正常的?

zgChildAgingEnable使能后, DPOLL_RATE=6000  DREJOIN_POLL_RATE=5000,  但是通过抓包软件, 发现每3s 终端就发出一个 Orphan notification。 

这是哪里有问题吗? 我截取了两张图。

 (改变的数值为 timeoutCounter)

1.2.2a的协议栈提供了两种aging 的方法,一种是发orphan 一种是发data request。 取决于父节点上zgNwkParentInformation 的取值

zgNwkParentInformation = NWK_PARENT_INFO_MAC_DATA_POLL   使用 data request

zgNwkParentInformation = NWK_PARENT_INFO_ORPHAN_NOTIFICATION; 使用 orphan notification

默认使用orphan notification

在ZGlobals.c 中 有一段代码 注释,上面讲得很详细:

//=======    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.

Hi,楼主

您的 zigbee3.0入网成功了吗?

请教一下, zgChildAgingEnable使能后, Orphan notification发送周期 不为 POLL_RATE, 这是什么原因了?

暂时没用 z-stack 3.0了。

Orphan notification发送周期 不为 POLL_RATE?  这个倒没深入了解过!

不知道VV 大神在不在,问问它!

@VV zgChildAgingEnable使能后, Orphan notification发送周期 不为 POLL_RATE, 这是什么原因了?

如果是用orphan Notification来做keep alive的消息的话,那么周期是按照orphan scan的周期来的,跟poll rate没有关系。

如果使用data request来做keep alive的话,那么就跟poll rate有关系

建议使用data request来做keep alive

orphan scan 的周期是在哪里设置的?

orphan scan 不是在断网的时候才发送吗? 它怎么会有周期呢?

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

网站地图

Top