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

ble_nfc_pairing_reference_pca10040_s132 fails to Bond

Hi

I am trying to connect and bond a nrf52832 to Galaxy S6, Android 7.0 by OOB / NFC with the
ble_nfc_pairing_reference_pca10040_s132 example.

I selected LE Secure Connections OOB pairing by pressing Press Button 2 after start.

The bonding fails with the following debug log:

<debug> nrf_ble_lesc: Initialized nrf_crypto.
<debug> nrf_ble_lesc: Initialized nrf_ble_lesc.
<debug> nrf_ble_lesc: Generating ECC key pair
<info> app: NFC Connection Handover BLE peripheral device example started.
<info> BUTTONS_M: LESC OOB MODE!
<info> BLE_M: Fast advertising.
<debug> peer_manager_handler: Event PM_EVT_BONDED_PEER_CONNECTED
<debug> peer_manager_handler: Previously bonded peer connected: role: Peripheral, conn_handle: 0, peer_id: 0
<debug> peer_manager_handler: Event PM_EVT_CONN_SEC_PARAMS_REQ
<debug> peer_manager_handler: Security parameter request
<debug> peer_manager_handler: Event PM_EVT_PEER_DATA_UPDATE_SUCCEEDED
<debug> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update
<debug> peer_manager_handler: Event PM_EVT_LOCAL_DB_CACHE_APPLIED
: conn_handle: 0, peer_id: 0
<debug> peer_manager_handler: Event PM_EVT_CONN_SEC_START
<debug> peer_manager_handler: Connection security procedure started: role: Peripheral, conn_handle: 0, procedure: Bonding
<debug> peer_manager_handler: Event PM_EVT_CONN_SEC_PARAMS_REQ
<debug> peer_manager_handler: Security parameter request
<debug> peer_manager_handler: Event PM_EVT_CONN_SEC_CONFIG_REQ
<debug> peer_manager_handler: Security configuration request
<debug> peer_manager_handler: Event PM_EVT_CONN_SEC_FAILED
<info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 4352
<debug> nrf_ble_lesc: Generating ECC key pair
<info> BLE_M: Disonnected

The message on the phone is "Couldn't pair.."

I get the same problem with example 'ble_app_hrs_nfc_pairing'

My question:

a) potential reasons?

b) where can I find description for error code 4352?

c) strategies for debugging issues?

Thank you for your support.

BR Chris

Related