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.

为什么蓝牙4.0协议栈设置事件没有反应?



你好,我在peripheral 设置了一个事件,但是没有反应?

if ( events & SBP_TIMER_EVT )
{
      counter ++;
      NPI_WriteTransport("counter\n",8);
      osal_start_timerEx( simpleBLEPeripheral_TaskID, SBP_TIMER_EVT, SBP_TIMER_EVT_PERIOD );
      return (events ^ SBP_TIMER_EVT);
}

之后在函数那里调用了osal_start_timerEx( simpleBLEPeripheral_TaskID, SBP_TIMER_EVT, SBP_TIMER_EVT_PERIOD );

#define SBP_TIMER_EVT_PERIOD   20

我想问最短的定时时间是多少?

为什么会没有打印出来