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

What are the peer_manager and BONDING does?

Hi I saw the Central and Peripheral example code has peer_manager in sdk 12.2 and BONDING_ENABLE in sdk10.

What are they does and where has document I can read. If I dont use should I set true or false into peer_manager_init function

Thanks

Parents
  • Hello Vincent

    The peer manager replaces the device manager from previous SDK’s and performs the following tasks:

    • Keeps track of connected peers, and stores identification numbers
    • Manages the whitelist
    • Manages secure keys
    • Manages pairing procedures
    • Stores GATT information such as CCCD values, and attributes.
    • Notifies all connected peers of service changes

    For more information on the peer manager see Nordic Infocenter: infocenter.nordicsemi.com/.../lib_peer_manager.html

    Bonding is when two devices store security keys for later use. They can then later reconnect and exchange encrypted data without exchanging sensitive data. This can be helpful if two devices need to connect in a public area where someone can eavesdrop. If the devices have bonded previously there is no need for a key exchange the eavesdropper can pick up.

    When not using bonding I believe you can just set it to false. In addition see the peer manager usage section for different examples of security parameters infocenter.nordicsemi.com/.../lib_pm_usage.html

    Best regards

    Jørn Frøysa

Reply
  • Hello Vincent

    The peer manager replaces the device manager from previous SDK’s and performs the following tasks:

    • Keeps track of connected peers, and stores identification numbers
    • Manages the whitelist
    • Manages secure keys
    • Manages pairing procedures
    • Stores GATT information such as CCCD values, and attributes.
    • Notifies all connected peers of service changes

    For more information on the peer manager see Nordic Infocenter: infocenter.nordicsemi.com/.../lib_peer_manager.html

    Bonding is when two devices store security keys for later use. They can then later reconnect and exchange encrypted data without exchanging sensitive data. This can be helpful if two devices need to connect in a public area where someone can eavesdrop. If the devices have bonded previously there is no need for a key exchange the eavesdropper can pick up.

    When not using bonding I believe you can just set it to false. In addition see the peer manager usage section for different examples of security parameters infocenter.nordicsemi.com/.../lib_pm_usage.html

    Best regards

    Jørn Frøysa

Children
Related