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.

CCS/LAUNCHXL-CC1350: Can i use rf packet tx/rx examples for transmit sensor data

Part Number: LAUNCHXL-CC1350

Tool/software: Code Composer Studio

Dear experts,

now i am trying to transmit temperature and humidity data through sub 1 ghz but i can't becoz i am newbie to CCS so i can't understand that code can you please help me to transmit sensor data through sub 1 ghz

Note: i was already tried stack examples sensor and collector. i was merge the sensor and i2c code but sensor board is not communicate with collector and i can't find the mistakes. then i was tried portable example also that is discussed in this thread https://e2e.ti.com/support/tools/ccs/f/81/p/803868/2978176#2978176.

that's why i ask to use rf packet example.

thank you

  • As far as I can see this is basically the same question as you have had in your previous threads. Any reason for the double posting?

    Note that we don't write custom code for customers on E2E. We provide examples that can be used as a starting point for your application but we don't have the bandwidth to write it for you.

    To be able to help you you have to describe your issues in more detail that "it does not work". As an example, have you debugged the code, stepped through line by line and checked that all the subfunctions get called etc?
  • Dear TER,
    i was trying in some of times with sensor and collector examples, with the help of this link, dev.ti.com/.../154-stack_01_sensor_collector.html
    But i can't complete the 4th task like reduce reporting interval task. if i make that changes, my sensor module does not report with my collector, i don't know why. that is the reason for i am opening this thread, if there is possible to add any field like sensor value to rf packet example.
    because rf packet tx/rx example is just show the led status for tx/rx is connected or not.
  • Confused. First you write that you have an issue with integrating I2C. Then you have issues with a SimpleLink academy training and then you have a question about the packet rx example. It would be easier to support you if you clearly define one issue at the time since now it's difficult to know what to try to answer.

    For the latest question, I thought your intention was to use the 15.4 stack? In the packet RX/ TX examples you can place whatever data as part of the payload, that is up to you to decide.
  • i was completed i2c example and that is working fine, after that i am trying to transmit that sensor data through sub 1 ghz, that's why i ask that questions.
    let me know one thing there is possible to transmit sensor data with rf packet tx/rx example.
    because i have a problem in 15.4 stack sensor/ collector reduce reporting interval. i don't know what is the problem there.
  • Since you want to use the 15.4 stack let's try to figure out why you have a issue with the Academy training. If a task in the training ask you to do something this should be possible to do. Meaning that indicate that you have not followed the training fully. Please verify that you started with a clean workspace and installed the examples from the SDK directly without changes before you started.
  • Dear TER,

    i am damn sure i never change or overwrite the 15.4 stack codes, and also i not complete the 2nd task from this link because if i done the 2nd task my sensor will not respond to the collector,  

    http://dev.ti.com/tirex/content/simplelink_academy_cc13x0sdk_3_10_01_00/modules/154-stack/154-stack_01_sensor_collector/154-stack_01_sensor_collector.html

    so then i am following this methods without task 2 completion. http://dev.ti.com/tirex/content/simplelink_academy_cc13x0sdk_3_10_01_00/modules/154-stack/154-stack_02_portable_app_remote_sensor/154-stack_02_portable_app_remote_sensor.html

    but it is execute task1 14th point then i press h in my terminal my my controller not responding. that's why i ask there is possible to transmit sensor data with rf packet tx/rx example 

  • Hello surya,

    task 4 of this simple link academy is not working, and is being fixed on the next update.

    For your particular application you do not need to modify this. Before modifying any of these parameters you should understand what they mean.

    Leave the polling interval at a value greater than 400 and you should be good.

    To transmit sensor data you can use the sendSensorDataMsg API in Sensor.c.

    This will trigget a DataIndCB on the collector.c. in here you can parse through the message and read the value sent.

    For more information please refer to our user guide.

    dev.ti.com/.../node