Hi there
I started with an empty ble_template and added my own custom service emulating the batterey service, with all the same functions etc. Using master emulator i can see the characteristic increasing and decreasing just like the batterey service.
My problem is that i wish i add another characteristic to this custom service. After defining and adding the characteristic to the stack i check with master emulator and i can now see both characteristics but the other one has stopped transmitting data and has become static.
Any thoughts?
function to handle data change (same in batteryservice.c)
function to update characteristic with value (same in hrs example main.c)
function for service init in main.c
sensor simulator
Thanks