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.

RTOS/CC1310: RTOS program for wireless sensor and receiver

Part Number: CC1310

Tool/software: TI-RTOS

Hello,

I am trying to use two CC1310 launchpads: one as a wireless sensor and one as a data receiver.
The wireless sensor should periodically (eg. every 3 minutes) transmit sensor data to the data receiver.
The data receiver should display the sensor data over UART to a serial terminal. In addition, I want to be able to write commands on the serial terminal such that the data receiver would transmit commands to the wireless sensor node. The wireless sensor CC1310 should rapidly perform the commanded task, then continue the periodic sensor data transmission. What would be the best/easiests way to do this? Is there an example for this type of application?


Side note**
I have looked at the easylink node and concentrator examples, and the UARTrxtx example (e2e.ti.com/.../586620

For the data receiver, it seems that the UARTrxtx example needs to take turns in rx and tx. However, I need to continuously scan and display rx data, unless a command is entered from a serial terminal to be transmitted.

For the wireless sensor, what is the best/easiest way to run the task of periodically transmitting sensor data, while performing a short task when a command has been received. Could I simply just listen before transmitting the data every time, and only perform the short task when a command has been received/heard? Or would it be better to continuously sniff for packets while the sensor data acquisition transmission task is blocked, and wake up to perform the short task when a command has been received.
**

Thanks!