请教TI的大神,
如果ED掉线了,如何解决ED功耗问题。
Yue TANG:
zstack目前的方法,如下红色描述:
If the end device loses its parent while polling, it scans the currently active channel and attempts a secure rejoin, if itcan’t find its network it will attempt a scan of all channels. If attempts fail for a secure rejoin (current and allchannels), the network key is removed and the device will attempt a trust center rejoin (unsecure).
When an end device is aged out, it will attempt to rejoin the network. Rejoin does not depend on state of AssociatePermit flag. When the end device is in rejoin state (scan and rejoin attempts), it will be in the rejoin state for adefined period of time (15 minutes default) and then goes into a back off period(silent state) (15 minutes default),then cycle back to the rejoin state. These durations can be configured by using the API functions -ZDApp_SetRejoinScanDuration() and ZDApp_SetRejoinBackoffDuration().
Unknown Unknown23:
回复 Yue TANG:
谢谢您的解答,我们用的是zstack mesh1.0的。
Unknown Unknown23:
回复 Yue TANG:
您好!TI老大们,但是我们用的zstack mesh1.0,这个又该怎么处理呢?谢谢
Yue TANG:
回复 Unknown Unknown23:
mesh1.0没有这个功能。 你可以参考HA的实现,这两个函数的代码是开放的。
Unknown Unknown23:
回复 Yue TANG:
有具体详细的解决方案吗?谢谢!现在产品就卡在这个地方了。
Yue TANG:
回复 Unknown Unknown23:
上面给的回复里已经说明了,就是尝试重新加入设定一个时间,如果这段时间无法完成加入的操作,就back off一段事件再尝试rejoin.
你可以考虑把HA里的与这个相关的代码挪过来。
when the end device is in rejoin state (scan and rejoin attempts), it will be in the rejoin state for adefined period of time (15 minutes default) and then goes into a back off period(silent state) (15 minutes default),then cycle back to the rejoin state.