I am using a stripped version of ble_app_hrs of SDK5.1 with Softdevice 6. I stripped all services from ble_app_hrs except the DIS. ( so removed battery, hrs, buttons and gpio).
I tried this with and without scheduler. I do initialize timers to use the scheduler or not.
When running, it starts advertising. After connect it breaks the connection within 5 seconds
From what I conclude with debugging is that a timer event is generated that has no event handler (0 pointer) and no context. The timer event is, I think, a result of the connection parameter update process.
I do not know how to pinpoint this any further.
I appreciate your input.