终端休眠定时唤醒(PM2) 期间断网无法恢复怎么回事,不休眠的情况 可以恢复。
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.
协调器端也有NV_RESTORE对吧,这个没问题每次都能够复现吗?
另外你在节点做下下面额改动
void ZDApp_NetworkInit( uint16 delay )
{
+ if ( devStartMode == MODE_REJOIN )
+ {
+ _tmpRejoinState = true;
+ }
if ( delay )
{
// Wait awhile before starting the device
osal_start_timerEx( ZDAppTaskID, ZDO_NETWORK_INIT, delay );
}
else
{
osal_set_event( ZDAppTaskID, ZDO_NETWORK_INIT );
}
}你好VV我的协调器也加了NV_RESTORE啦,你给的建议,我在一篇英文网页里看到过也加了,但是还是不行,断网后,终端一直发信标,但是协调器恢复网后没有ACK应答,结果终端一直发信标无法恢复入网,您给分析下吧!!!
void ZDApp_NetworkInit( uint16 delay )
{
+ if ( devStartMode == MODE_REJOIN )
+ {
+ _tmpRejoinState = true;
+ }
if ( delay )
{
// Wait awhile before starting the device
osal_start_timerEx( ZDAppTaskID, ZDO_NETWORK_INIT, delay );
}
else
{
osal_set_event( ZDAppTaskID, ZDO_NETWORK_INIT );
}
}