This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK 14.0.2 multirole lesc segger embedded studio project

Hi,

I am using the sparkfun nrf52832 breakout board with segger jlink and softdevice 5.1.0, I am not using the DK board.

I modified the BLE peripheral uart ses project and added the necessary includes and files to make the multirole lesc ses project.

The example runs and when I try to bond using the nrf connect app it fails. Following are the logs on RTT

<info> app: Initializing nrf_crypto.
<info> app: Initialized nrf_crypto.
<info> app: Generating key-pair
<info> app: Converting to raw type
<info> app: Erase bonds!
<info> app: Scanning
<info> app: Advertising
<info> app: LE Secure Connections example started.
<info> app: PERIPHERAL: Connected, handle 1.
<info> app: CENTRAL: BLE_GAP_EVT_SEC_PARAMS_REQUEST
<info> app: CENTRAL: BLE_GAP_EVT_LESC_DHKEY_REQUEST
<info> app: CENTRAL: BLE_GAP_EVT_PASSKEY_DISPLAY: passkey=173696 match_req=1
<info> app: Press Button 1 to confirm, Button 2 to reject
<info> app: Calling sd_ble_gap_lesc_dhkey_reply on conn_handle: 1
<info> app: Numeric Match. Conn handle: 1
<info> app: PERIPHERAL: Disconnected, handle 1, reason 0x8.

and the app says "Couldn't pair with NordicLESCApp because of an incorrect PIN or passkey"

I am attaching the project file ble_app_multirole_lesc_pca10040_s132.emProject I created, can you check if the configuration is correct. If not, can you provide me with a correct project file?

Thanks, Raghav