HI,
rfwakeonradioTx例程中,因为功能需要 我使用定时器来定时关闭接收状态,定时回调产生关闭接收的事件,,事件中 我调用RF_cancelCmd,程序如下:
if(cmdHdl >= 0)
{
status= RF_cancelCmd(rfHandle, cmdHdl, 0);
if(status == RF_StatSuccess)
{
if(cmdHdl >= 0)
{
RF_EventMask result = RF_pendCmd(rfHandle, cmdHdl, (RF_EventLastCmdDone |
RF_EventCmdAborted | RF_EventCmdCancelled | RF_EventCmdStopped));
if (result & RF_EventLastCmdDone)
{
asm("nop");
}
}
}
}
,本来应该每调用成功,会进入 回调,但是 我发现 多次调用之后,就会进不了回调了,status 返回RF_StatCmdEnded,这是为什么?
谢谢!