Part Number: CC2650STK
Tool/software: Code Composer Studio
Hi all,
I am trying to add temperature data to the advertisement payload in simple_broadcaster (in examples/cc2650lp). The problem is that I have no idea how to add the temperature sensor driver into the application. If I compare the project to the sensortag one (in examples/cc2650stk) I see that the latter has I2C drivers and Middleware containing code for the temperature sensor. I would like reproduce that structure in simple_broadcaster to be able to read temperature date, but I have no idea of:
- what to add (which source files)
- where to add it (Driver? Application? Middleware?)
- from where should I add it
Is there any tutorial on adding the temperature sensor driver to a project that does not use sensors? I guess this also apply to simple_peripheral, if there is any demo for that I will apply to the other, but I did not find anything useful, and I would very much like to avoid starting from the sensortag project and scraping stuff I do not need from there, since the simple_broadcaster is almost what I need if I can plug temperature in.
For your reference I am using CCS to build the code
Thanks a lot,
Ale