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:
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?