Tool/software: TI-RTOS
Hi,
I am working on 1310 based concentrator,which will always in receiver mode to collect data from its nodes.When the concentrator receives a specific packet from the serial port it has to send to the specific node.
For that I made two threads
1. For packet receive(from radio)
2. For packet receive from UART.
Both threads working independantly
But when tried to close the receiver handle before initializing for transmit the system is not returning from the RF_close(rfHandle) function.
Note: RF_close(rfHandle) function has been called from the UART thread.since the packet receiver thread stay for ever.
/* Enter RX mode and stay forever in RX */
RF_runCmd(rfHandle, (RF_Op*) &RF_cmdPropRx, RF_PriorityNormal, &callback,
IRQ_RX_ENTRY_DONE);
Please suggest me some solutions.Do we have any sample code with transceiver functionality for CC1310?
Regards
Zee