Other Parts Discussed in Thread: Z-STACK
环境:ZHA1.2.2A
一个ZC设备和一个ZED设备,都启动了child aging功能,zgChildAgingEnable为TRUE,终端节点设置为如果超时4分钟没有发送data request则表示设备掉线
#if !defined ( NWK_END_DEV_TIMEOUT_DEFAULT ) #define NWK_END_DEV_TIMEOUT_DEFAULT 8 // Default value per ZigBee core specification #endif // Value used by END DEVICE when sending End Device Timeout Request // This is an index into table timeoutValue[] defined in nwk_globals.c #if !defined ( END_DEV_TIMEOUT_VALUE )
//4 minutes #define END_DEV_TIMEOUT_VALUE 2 // Default value per ZigBee core specification #endif
然后将ZED设备加入到ZC当中,并且在AssociatedDevList关联表中显示ZED设备,timeoutCounter参数随着慢慢递减,然后将ZED断电,当AssociatedDevList中timeoutCounter计数为零时,AssociatedDevList中关于ZED的信息被删除了,此时notMyChildList数组中并没有ZED的信息。这是什么原因?我那里配置不正确吗?
notMyChildList