Hello everyone,
i am trying to mix up both services proximity and RSSI but i am not able to merge the header files of these two services can anyone guide me? how to merge these two services
Hello everyone,
i am trying to mix up both services proximity and RSSI but i am not able to merge the header files of these two services can anyone guide me? how to merge these two services
Hi. I am a little confused about what exactly it is you want to achieve here. What proximity service? Are you using the ble_app_proximity example in the SDK? Do you want to have two characteristics included in one single service?
yes martin, i am using proximity example, in that i want to add RSSI service also but i dont know how to add the RSSI service .h and .c files in to the proximity example
I'm not aware of any rssi service files nor any defined rssi service. Do you have any specific files in mind? Do you want to add the measured RSSI to the service in addition to the Tx Power Level characteristic? Are you able to just add the necessary code to add the characteristic in the ble_tpc .c and .h file?
can you tell me how can i add the header files to the exising proximity example? because i want to gls.h files to the proximity examples
Hi
Assuming you use Keil you can add .c and .h files like this:
Add the folder path to your .h files in step 4 and add the necessary .c files in step 6.