Hello,
I am currently working on a CC2650 project. I have some code in SCS and in CCS. As I currently understand it, when the SCS code executes it stores data in the shared RAM that the main CPU (code for which is in CCS) can pull from. I have used this process quite a bit using the scifTaskData object, and am successfully able to send data collected by the sensor controller, stored in the RAM, and sent by the main CPU over BLE.
However, I am hoping to implement a control variable in SCS that is defined by the code in CCS. Essentially, I want to implement a boolean variable that can be written to via BLE, and which is passed onto the sensor controller via the shared RAM, to allow for some control over whether I want a certain measurement to be taken or not. Essentially using the process I described above in reverse. I am having difficulty, however, setting up this process. Where should I define this variable, and how should I set up a service in order to write to this variable from a mobile application? Are there any tutorials on this or any code examples? I have tried looking through the documentation but am struggling to find the answer.
Any help on this is appreciated.
Kind Regards,
Pawan Ratra.
