This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Authorized connections only

Hi,

I have developed an App to connect and communicate with a BLE peripheral.
I used the nRF52840 device.
Now I would like to change the firmware so that only my App can connect to the BLE device and see all the available services.
For example, I don't want the Nordic App (nRF Connect) to be able to connect to my BLE peripheral.
How can I do?

Thank you very much.

Parents
  • Hi,

    There is no standardized way to do this. The first thing that comes to mind is similar, but not exactly the same (as I do not see any way to prevent the connection in the first place):

    1. Let the device connect
    2. Exchange a secret between the phone app and the nRF. This could be using a challenge-response mechanism to prevent replay attacks by someone eavesdropping.
    3. If the secret has not been exchanged after some defined time, disconnect. If the secret has been exchanged, assume things are good.
Reply
  • Hi,

    There is no standardized way to do this. The first thing that comes to mind is similar, but not exactly the same (as I do not see any way to prevent the connection in the first place):

    1. Let the device connect
    2. Exchange a secret between the phone app and the nRF. This could be using a challenge-response mechanism to prevent replay attacks by someone eavesdropping.
    3. If the secret has not been exchanged after some defined time, disconnect. If the secret has been exchanged, assume things are good.
Children
Related