Pair with max connections full (NCS)

I am developing nRF52833 with nRF Connect SDK.

I'm wondering what happens when the number of pairings reaches the upper limit.

Is it possible to delete the oldest registration, or set how to handle it here?

In the URL below, there is a description that settings can be made by peer ranking (an example of NRF5), but is it possible to perform the same processing with this NRFconnect SDK by making the same settings?

 NFC BLE Pair with max connections full 

Thanks.

Parents
  • Hi,

    You should get some SMP application error if there isn't any more room for new bonds,

    Is it possible to delete the oldest registration, or set how to handle it here?

    In the URL below, there is a description that settings can be made by peer ranking (an example of NRF5), but is it possible to perform the same processing with this NRFconnect SDK by making the same settings?

    Unfortuanly, I have not seen any such implementation in nRF Connect SDK. You need to implement this yourself in your application, by saving the BLE address to the oldest registration, and then delete it by calling  bt_unpair() 

    Also see the Bonding sample for example usage,

    regards

    Jared

Reply
  • Hi,

    You should get some SMP application error if there isn't any more room for new bonds,

    Is it possible to delete the oldest registration, or set how to handle it here?

    In the URL below, there is a description that settings can be made by peer ranking (an example of NRF5), but is it possible to perform the same processing with this NRFconnect SDK by making the same settings?

    Unfortuanly, I have not seen any such implementation in nRF Connect SDK. You need to implement this yourself in your application, by saving the BLE address to the oldest registration, and then delete it by calling  bt_unpair() 

    Also see the Bonding sample for example usage,

    regards

    Jared

Children
Related