Part Number: CC2640R2L
Hello,
I have loaded ble5_poject_zero on my CC2640R2, now I would like to try to send dummy data from my application to a connected device.
What function should I use to send this data? And where should I use it?
Thank you
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.
Part Number: CC2640R2L
Hello,
I have loaded ble5_poject_zero on my CC2640R2, now I would like to try to send dummy data from my application to a connected device.
What function should I use to send this data? And where should I use it?
Thank you
Hi,
Make sure to review our SimpleLink Academy labs: https://dev.ti.com/tirex/explore/node?node=AJ3HKMayaRkezRxrWedgQA__krol.2c__LATEST and our documentation.
Please let us know if you have more questions.
Best regards,
Hello,
no, I haven't solved it, but maybe I was unclear.
What I am trying to do is change the Stream Data value every second so that by activating the notification property I can read its variation on the android application (for example BLE Scanner)
Can I do this in main or do I need to create another task?
Should I use a public function of data_service.c to modify the data, or how should I modify the ds_StreamVal variable?
Thank you.
Hi Salvatore,
Please see the Custom Profile section of the SimpleLink Academy Labs. This lab modifies Project Zero to include a custom profile and explains how the GATT and ATT work. Task 6 describes how to make the updates periodic. These documents may help out understanding how to modify the data service task to accomplish what you're trying to do.
Please let me know if this helps.
Best,
Nima Behmanesh
Hi Salvatore,
I just wanted to follow up, was my reply helpful?
Best,
Nima Behmanesh