Part Number: TIDA-010024
I am currently working with the 6lowpan_mesh_ti_15_4_cc1312_tirtos_ccs project file. Inside the app_task_node.c file, there is the following code:
I am currently trying to use the debug_push configuration and believe that this is controlling the timer which sends data every 10 seconds. I would like to change this so that the application sends data when an event occurs (i.e. a trigger from a microphone).
How can I change this code to instead send data when something like a trigger occurs instead of a timer?
Any help is greatly appreciated.
My apologies, it looks like my picture was clipped. Here is the code I meant to attach:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Grady Anderson:
You can modify the code to send the data whenever there is a specific event such as trigger from a microphone, in your case, by calling the "app_send" function. 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 handling interrupted based on the ADC inputs.
Prasanna U R, Ph. D.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.