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

What is the difference between pairing and bonding?

On the way to pairing my nrf52840 DK with android I found " // Pairing, no bonding." this comment. Please clarify this comment.

Parents
  • Hi,

    In short, in order to fully establish a connection between two BLE devices you perform "pairing" for encrypting the communication channel. As part of the pairing procedure, there is an option of also doing "bonding". If you do bonding, the devices will store information about the peer device in persistent memory, so that they can reestablish the encrypted connection at a later point in time, but without having to do the full pairing procedure all over again. It can then "continue the existing connection" the next time the same two devices connects to each other, as long as both devices have stored their part of the bonding data.

    Regards,
    Terje

Reply
  • Hi,

    In short, in order to fully establish a connection between two BLE devices you perform "pairing" for encrypting the communication channel. As part of the pairing procedure, there is an option of also doing "bonding". If you do bonding, the devices will store information about the peer device in persistent memory, so that they can reestablish the encrypted connection at a later point in time, but without having to do the full pairing procedure all over again. It can then "continue the existing connection" the next time the same two devices connects to each other, as long as both devices have stored their part of the bonding data.

    Regards,
    Terje

Children
No Data
Related