Other Parts Discussed in Thread: CC2630, CC2530, Z-STACK
znp中能使用child aging功能么?
现在使用cc2530znp模式,是能了znp代码中的child aging ,但是好像没起作用,在AssociateDevList中的值全为oxff ,紧急求助,求解答~谢谢
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.
首先Child Aging并不是一个实时反映终端在线的功能。 它一起作用的时间比较长点。
如果需要实时的知道节点的状态,那么需要自己在app层数据包。
如果使用Child Aging,要实时的知道的话,你需要把timeout的时间配置的很短。 你可以这样验证,当节点刚开始入网的时候,AssociateList应该不是全是0xFF,
然后把节点断掉,需要等一段时间,等的时间就是timeout的时间,程序里面有设置,最后Coordinator上面AssociateList应该所有的item全是0xFF了