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

Is there any example to implement the Bonding & Static Passkey in BLE Central?

I have a working peripheral NUS application to pair/bond by entering passkey in the nrf master toolbox android application.

Now i want to replace the mobile witha nrf 51822 device and implement the bonding & static key in it.

Please give suggestions/examples.

  • FormerMember
    0 FormerMember

    Unfortunately, the ble_nus_c example doesn't implement bonding.

    For implementing bonding, I would recommend you to use the Peer Manager module.

    The experimental central example ble_app_rscs_c shows how the Peer Manager module can be included in a project.

    In order to implement bonding with static passkey for the central side, you should follow this message sequence chart.

Related