Hello!
I'm trying to make application with proprietary protocol using CC1310 module and tirtos_cc13xx_cc26xx_2_15_00_17.
I make to work TI examples to Rx and Tx packets. Here is part of code:
<code>
void task_func(void)
{
...
/* Enter RX mode and stay forever in RX */
RF_runCmd(_rfHandle, (RF_Op*)&RF_cmdPropRx, RF_PriorityNormal, &_callback, IRQ_RX_ENTRY_DONE);
while(1);
}
</code>
_callback() is called when Rx packet is ready, there all right, but the function "RF_runCmd(...)" never returns. Code "while(1);" not executed.
I planned set some code instead of while(1) to stop Rx mode when need arises and so on. This doesn't works.
The questions are
1. Is this right that RF_runCmd never returns?
2. How can I stop Rx mode when I no more need it?
Best Regards!