Dear Nordic support team,
I am developing a prototype based on the nRF52840 with the nRF5 SDK 16.0.0 and Soft Device S140 7.0.1.
The prototype acts in the peripheral role and connects to a central via BLE as a HID keyboard.
So I implemented the BLE HID Keyboard service.
The implementation is based on the nnRF5 SDK example ble_app_hids_keyboard.
The problem is:
1) The device starts advertising successfuly.
2) On my smartphone (Android 10) I can see the device as a keyboard device in the list of Bluetooth. So far so good.
3) But when I click the device in the list to pair it, my nRF52840 code causes a fault: Unknow function at at 0x00000A60.
See screenshot
The fault appears to be occurring in the soft device. Unfortunately I cannot find the location or the cause of the fault.
The example ble_app_hids_keyboard works perfectly, however.
I compared the sdk_config.h, the segger project file and source code between my project and the example mentioned above - but with no result.
Do you have any idea what could be causing the fault?
My project files:
Thanks and Regards
Michael Kreher