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.

休眠模式问题



if(events & SERIALAPP_CMD_EVT)
{
HalUARTWrite( SERIAL_APP_PORT, sbuffer, 9);
osal_start_timerEx( SerialApp_TaskID, SERIALAPP_CMD_EVT, 30000 );
}

睡眠30s ,醒来就向串口发送命令(9个字节),但是发现每次命令没发完,就睡眠了,这是什么问题