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.

CC1350: Send temperature data from Sensor Controller over Sub-1GHz

Part Number: CC1350


I am using CC1350 Launchpad.

I have used Sensor Control Studio (SCS) to create a program to read two temperature data bytes from a temperature sensor.

Using the "Task Testing" inside SCS I could verify that my program is working.

I am now trying to send that two bytes of data over Tx (Sub-1GHz) using the simple "rfPacketTx" example program.

I went through the Simplelink Academy programs "Sensor Controller Studio" -> "Projects from Scratch" -> "Bonus Task 2 Integrate with Proprietary RF" found here:

http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink CC13x0 SDK%2FSimpleLink Academy%2FSensor Controller Studio%2FProject from Scratch

I have the following already:

// Fetch 'output.tempMSB' & 'output.tempLSB' variable from SC
      uint8_t tempMSB = scifTaskData.i2c.state.tempMSB;
      uint8_t tempLSB = scifTaskData.i2c.state.tempLSB;

This will probably set the sequence number:

// Populate packet, and set pktlen
      packet[0] = (uint8_t)(seqNumber >> 8);
      packet[1] = (uint8_t)(seqNumber++);

I then need to set the packet length using "RF_cmdPropTx.pktLen".

How do I do this? How do I send the 2 bytes?