I'm trying the ble_app_hrs example on a custom nRF51822 board with s110 6.0.0 softdevice.
Debugging in Keil, the firmware runs fine up to ble_stack_init(). Within ble_stack_init() the call to sd_ble_enable(&ble_enable_params); returns error code 5 (NRF_ERROR_NOT_FOUND).
// Enable BLE stack
ble_enable_params_t ble_enable_params;
memset(&ble_enable_params, 0, sizeof(ble_enable_params));
ble_enable_params.gatts_enable_params.service_changed = IS_SRVC_CHANGED_CHARACT_PRESENT;
err_code = sd_ble_enable(&ble_enable_params);
APP_ERROR_CHECK(err_code);
I am confused by this as according to the S110 6.0.0 documentation sd_ble_enable() should only return NRF_SUCCESS or NRF_ERROR_INVALID_ADDR.
any suggestions ?