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/CC2650: CC2650

Part Number: CC2650

Tool/software: Code Composer Studio

Hello,

I am asking for a little support relating to ADC input and transferring it to the app. I am using the sensor tag with the debugger and am able to run and receive data from the sensoratg after debugging the Sensortag Application (And Stack) in CCS. I am also able to see the input i want to display in SCS and generate the .c and .h files. The problem now where i am stuck is how to integrate these files into the sensortag app without loosing a lot of it original functionality. And also be able to display the receives ADC data on my smartphone. 

If you could give me any advice i would be real grate full (I know that there are a few similar threads on here but non of them worked out for me, i also tried to do the tutorials as far as possible and couldn't find a way to solve my problem)

Thanks for your time and greetings,

Jan

  • These are the steps needed by add ADC to the SensorTag application:

    1) Create a service. This is best done by copying one of the existing services in profiles\sensor_profile\cc26xx and adapt it to your needs. irtempservice.c/.h would be a good start. You need to define a name for the service (in sensortag,h) and a set of new UUID's.

    2) Create a sensortag module named sensortag_adc.c, and adapt it. It could be based on sensortag_tmp.c.

    3) Finally include it in sensortag.c like the other modules are include.