Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52840 DK problèm to pairing back ?

Hello, I'm just starting to experiment bluetooth with the nfr52840 DK board and the sample programs available, especially those "ble peripheral" and as a beginner I started by doing a pairing that succeeded after a first programming and then I I forgot the device to pairing again and there not possible ?

Only if I reprogram the board I can again match the board but no later ...? do I need to put the board in pairing mode to pair it with my phone? is there a process for that ?

i try the soft : 

\nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\experimental\ble_app_hrs_nfc_pairing

nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_alert_notification

why don't pairing after to have forget ? 

Thank for your answers

Best regard

Parents
  • Thank you haakonsh for your advice that I will deepen.

    However, according to my weak knowledge of bluetooth I understand that a bluetooth device once forgotten can be paired again by putting it in pairing mode ... can we put it in this mode to pair again?

    How do you call pm_peer_data_delete? in the app or program in question?

    Thank you

  • chantal thibaud said:
    according to my weak knowledge of bluetooth I understand that a bluetooth device once forgotten can be paired again by putting it in pairing mode

    You are correct, but one side of the link believes that it is already paired, therefore it rejects another pairing attempt, or, attempt to pair with previous data, to which the peer device will reject the pairing attempt. 

    In your application that's running on the nRF52840, after you've initialized the peer manager library. 

Reply
  • chantal thibaud said:
    according to my weak knowledge of bluetooth I understand that a bluetooth device once forgotten can be paired again by putting it in pairing mode

    You are correct, but one side of the link believes that it is already paired, therefore it rejects another pairing attempt, or, attempt to pair with previous data, to which the peer device will reject the pairing attempt. 

    In your application that's running on the nRF52840, after you've initialized the peer manager library. 

Children
Related