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

Connecting with nfc_ble_pair_lib

I am using the ble_app_hrs_nfc_pairing example (sdk 14.0.0) on my NRF52840 with the s140 soft device. I am able to bond with my phone (Android 8.0.0 Oreo) by tapping the sensor, and BLE_GAP_EVT_CONNECTED and BLE_GAP_EVT_CONN_SEC_UPDATE handlers are called on the device. However nRF Connect on the phone says bonded, not connected. I am thus unable to manipulate services from the app. Because the nfc library causes advertising to halt after the bonding, I am unable to manually connect. My only work around has been to reset the device to get advertising started again and then connect from the phone.

Is this a problem with the library or my phone?

Parents
  • Have you also update the NFC library ?

    Code 139 = 0x8B = BLE_GAP_SEC_STATUS_DHKEY_FAILURE

    Could be something wrong with the OOB data to generate the key

    Which phone did you use to test with ? I also experience some issues with Samsung S8 (not same error code though), when the Nexus phones worked fine.

    "the board believes the connection is established but the phone does not" This will result the board disconnect because of timeout , after that can you connect and bond ?

Reply
  • Have you also update the NFC library ?

    Code 139 = 0x8B = BLE_GAP_SEC_STATUS_DHKEY_FAILURE

    Could be something wrong with the OOB data to generate the key

    Which phone did you use to test with ? I also experience some issues with Samsung S8 (not same error code though), when the Nexus phones worked fine.

    "the board believes the connection is established but the phone does not" This will result the board disconnect because of timeout , after that can you connect and bond ?

Children
No Data
Related