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.

LAUNCHXL-CC1310: API/Function to create & send function

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310, TIDA-010003

I am using TIDA-010003(node cc1310)  & TIDA-01547(root msp432+cc1310) .

Configuring TIDA-010003(node cc1310)  for 6LoWPAN.

Need to sense adc & when value crosses certain limit, send the data only then.

in TIDA-010003(node cc1310) example code, which API/functions to edit for this?

  • Hi,

    You can modify the example code to send the data whenever there is a specific event like trigger from ADC crossing the threshold level. In "6lowpan/app_task_node.c", you can include function to read values from ADC and look for input voltage levels. Once it crosses the limit, you can send the data by calling the function "app_send". Calling this function basically sets the msg.event_type as APP_TX_DATA to push the data out. 

    You may want to look at the example drivers in the SDK that showcases implementation of ADC sampling and data handling.

    With Regards,