Hi,
Starting from the LED Button Service found in SDK_12.2.0/examples/ble_peripheral/experimental_ble_app_blinky I'd like to add two characteristics on this service. I used this post as a starting point, replacing the ble_lbs.c/.h files in my current SDK and modifying some lines of the main file.
It looks like if everything would work until I press the second button which should send an integer: the application resets!
I tried to debug but can't see anything anormal until the debug pointer arrives to return sd_ble_gatts_hvx(p_lbs->conn_handle, ¶ms);
and then disappears...
Do I make such a common mistake that someone can explain me what I should modify? Or help me to provide some more relevant information.
Thanks, Sébastien