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.

关于data request问题,定时器设置的休眠时间

定时事件:

if ( events & SAMPLEAPP_POLL_RATE_EVT )
{

      NLME_SetPollRate(1);

      osal_start_timerEx( zclSampleLight_TaskID,
      SAMPLEAPP_POLL_RATE_EVT,
      SAMPLEAPP_POLL_RATE_SET_TIMEOUT);
return ( events ^ SAMPLEAPP_POLL_RATE_EVT );
}

#define SAMPLEAPP_POLL_RATE_SET_TIMEOUT         (900 + (osal_rand() & 0x00FF) *4)

#define SAMPLEAPP_POLL_RATE_EVT                0x4000  应用层无冲突

但是醒来的时间有在3S以上