你好,我增加了此LOG,同时把drv_pm_lowPowerEnter中的sleeptime也打印出来了。
s32 sampleSensor_zclCheckInTimerCb(void *arg)
{
printf("sampleSensor_zclCheckInTimerCb\r\n");
zcl_pollCtrlAttr_t *pPollCtrlAttr = zcl_pollCtrlAttrGet();
if (!pPollCtrlAttr->chkInInterval) {
printf("!pPollCtrlAttr->chkInInterval\r\n");
zclCheckInTimerEvt = NULL;
return -1;
}
sampleSensor_zclCheckInCmdSend();
return 0;
}
如下,发现是一段时间后,只有sampleSensor_zclCheckInCmdSend(),但没有收到网关发过来的ZCL_CMD_CHK_IN_RSP。抓包那边看从异常位置起,没有看到在ZCL层有从终端发出的zclCheckInCmdSend消息,但从终端下面的串口LOG看是有执行sampleSensor_zclCheckInTimerCb和sampleSensor_zclCheckInCmdSend的, 就很奇怪,此时异常发生后终端收不到网关应用层发过来的任何消息,我试过从网关发读,写命令过来给终端,终端都没有反应。请帮忙看看。
Retention:0
user_init
after bdb_init
BDB_INIT_STATUS_SUCCESS
sampleSensor_zclCheckInStart
sampleSensor_zclCheckInCmdSend
BDB_INI sampleSensor_zclCheckInStart
sleeptime:191
Retention:1
user_init
in user_init recovery from deep sleep with retention
sleeptime:283
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:181
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:272
Retention:1
user_init
in user_init recovery from deep sleep with retention
sleeptime:487
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:478
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclChec隝ntimerCb
sampleSensor_zclCheckInCdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:478
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:480
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:477
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:478
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimer鑒
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:478
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:479
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:477
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckI踮merCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:480
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:477
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:478
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimer鑒
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:478
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:476
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimer鑒
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:478
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:467
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:477
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:479
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:477
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:478
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimer鑒
sampleSensor_zclCheckInCmdSend
sampleSensor_pollCtrlCb
ZCL_CMD_CHK_IN_RSP
continue in normal operation
sleeptime:479
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:171
Retention:1
user_init
in user_init recovery from deep sleep with retention
sleeptime:243
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:244
Retention:1
user_init
in user_init recovery from deep sleep with retention
sleeptime:245
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:500
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:492
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:500
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:492
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:500
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:492
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:499
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:493
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:498
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:494
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:497
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:495
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:496
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:496
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:495
Retention:1
user_init
in user_init recovery from deep sleep with retention
sampleSensor_zclCheckIntimerCb
sampleSensor_zclCheckInCmdSend
sleeptime:498