1、RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropRx,RF_PriorityNormal, &RxCallback,0);,这个函数是阻塞还是非阻塞,我使用debug单步调试发现运行之后无法跳转到后续函数中
2、RF_cmdPropRx这个是不是存在超时机制
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.
1、RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropRx,RF_PriorityNormal, &RxCallback,0);,这个函数是阻塞还是非阻塞,我使用debug单步调试发现运行之后无法跳转到后续函数中
2、RF_cmdPropRx这个是不是存在超时机制
1.是阻塞的,参考这里的描述:
Runs synchronously an RF operation command or a chain of commands and returns the termination reason.
This function appends an RF operation command or a chain of commands to the RF driver's command queue and then waits for it to complete. A command is completed if one of the termination events RF_EventLastCmdDone, RF_EventCmdCancelled, RF_EventCmdAborted, RF_EventCmdStopped occurred.
2.没有超时的概念,它有开始时间和结束时间