This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

Multiple passkeys

Good morning, I have already implemented my application based on nRF51822 and SD110 v8. In what regards bonding, I use a static passkey and it works fine. The product has an initially set passkey and the final user will be allowed to change it. Nevertheless, and as a manufacturer, I would like to have the possibility to also bond this module whenever. I have in mind different procedures to implement this. But the easiest one would be to have the possibility to register two or three different passkeys for the module itself. So, it would be allowed to bond this device by using two or three diferent codes. Is that possible? Best regards.

  • @Dani: Could you tell more on how you want to use the multiple passkeys ? You want them to be active all at the same time, so that the end user can use any of 3 for example to bond ? Or you want them to be active one at a time ?

    If you want them to be valid all at the same time, then it's not possible. Only one passkey at a time.

  • The end user only have to know one passkey. The other(s) one should be only for technical support purposes. So only one has to be active at a time. The main purpose is that it should be possible for us (as manufacturer) to bond any device: final user can send us back his module for updates/upgrades/reparations, and we would like to bond the device without changing the passkey that the final user has defined.

  • @Dani: As I mentioned above, only one passkey can be used for bonding a a time. For your purpose, you need 2 passkeys can be used at the same time. One for normal user and one for techsupport. I would suggest you to have a special button so that the device can enter setting mode when turning on with the button pressed.

    If you don't plan to have that extra button, you can think of creating a extra non-encrypted characteristic so that you can write a special password/command to it, and the device will enter setting mode. In that setting mode you can use your special passkey to allow bonding.

Related