I am trying to wrap BLE into a nice c++ class.
For this i am using ble_app_uart example.
I think it was working fine until i was up to clean the helper functions.
After that i got error_code: 8 at SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);.
Here is a full example. ble_app_uart_modified.rar
In file ble_wrapper.cpp:626 when i comment command ble_advertising_start there is no error.
I can't seem to find the reason. Is is possible that this is connected to C++ class? Are there some other ideas? Is there a way to narrow the issue?
Thanks.