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

HR with pairing over NFC

Hi,

I am trying to get the experimental NFC example "HR with pairing over NFC" to work. I can read the tag correctly with an android phone : the NDEF message is correct and the chip starts to advertise. I confirm on the phone that i want to pair the devices and then... it fails and tells me that the authentification failed (incorrect PIN...) after ~10s

I tried both "Just Works" (which is completly open) and OOB configurations with different types of messages (LE/EP)

Did you manage to get the two devices paired ?

config : android 5.1.1, nRF52 (10036) with sd132.

Thank you for your help.

Parents
  • I believe the devices are paired, but the smart phone will disconnect, and on disconnect the nRF52 will not restart advertising.

    If you just add some code to start advertising in the BLE_GAP_EVT_DISCONNECTED event in on_ble_evt() you should be able to connect, with for example nRF Toolbox.

  • Unfortunatly, the devices are not paired (the nordic_hrm does not appear in the BL paired device list). I tried on several phones. I tried to enable advertising under BLE_GAP_EVT_DISCONNECTED but this case is never executed since theres no disconnection. Moreover, I thought that the devices would actually pair and then connect, automatically : "3.Confirm pairing with 'Nordic_HRM' in a pop-up window on the smartphone/tablet and observe that the BSP_INDICATE_CONNECTED state is indicated"

    Thank you for your help

Reply
  • Unfortunatly, the devices are not paired (the nordic_hrm does not appear in the BL paired device list). I tried on several phones. I tried to enable advertising under BLE_GAP_EVT_DISCONNECTED but this case is never executed since theres no disconnection. Moreover, I thought that the devices would actually pair and then connect, automatically : "3.Confirm pairing with 'Nordic_HRM' in a pop-up window on the smartphone/tablet and observe that the BSP_INDICATE_CONNECTED state is indicated"

    Thank you for your help

Children
No Data
Related