Test Bluetoothe pairing without bonding

Hi,

We are developing BLE firmware that will allow BLE pairing without bonding (but with PIN/Passkey that is entered from the phone). However, when I try this with nRFconnect (on Android), the nRFconnect bonds immediately.

However, what we desire is the following:

Test Case 1:

1. nRFconnect connects to the tracker

2. nRFconnect pairs with our device (our device will ask for PIN which is entered on the phone). We are using BLE pin/passkey mechanism for security

3. nRFconnect can interact with the tracker without creating permanent bond with the tracker

Test Case 2:

1. nRFconnect connects to the tracker

2. nRFconnect pairs with our device (our device will ask for PIN which is entered on the phone). We are using BLE pin/passkey mechanism for secuirity

3. nRFconnect can interact with the tracker without creating permanent bond with the tracker

4. The user requests to bond with device from nRFconnect menu and then ONLY nRFconnect makes a permanent bond.

Do you think nRFconnect for desktop allows the above two test cases?

If you think I should use some other tool instead of nRFconnect to verify our implementation, please let me know.

Regards,

Rohit

Parents
  • Hi Stephane, 

    nRF Connect for Desktop can support what you want to achieve. 

    You can find the option here: 

    Pairing means encrypt the connection without storing bond information (no Long Term Key) when bonding means encrypt the connection with bond information stored. 

    This option is not available from the nRF Connect on Android/iOS. 

    However, on the peripheral side you can choose if you want to support bonding/pairing or not. If you are using nRF5 SDK, you can enable/disable bonding by changing SEC_PARAM_BOND when you call pm_sec_params_set()

Reply
  • Hi Stephane, 

    nRF Connect for Desktop can support what you want to achieve. 

    You can find the option here: 

    Pairing means encrypt the connection without storing bond information (no Long Term Key) when bonding means encrypt the connection with bond information stored. 

    This option is not available from the nRF Connect on Android/iOS. 

    However, on the peripheral side you can choose if you want to support bonding/pairing or not. If you are using nRF5 SDK, you can enable/disable bonding by changing SEC_PARAM_BOND when you call pm_sec_params_set()

Children
Related