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

Application controlled auth

I was wondering if its possible to do a "Create new user" function, so the new bonded devices are accepted only if the first connected master tells the peripheral to.

For example:

  • Admin (person) power up the peripheral.

  • Peripheral starts connectable advertising (with no restriction).

  • Admin (device) bonds with peripheral.

  • Peripheral stores connected device as 'Admin' role.

  • Peripheral changes advertising mode to whitelist immediately.

  • Admin send "Be connectable" command.

  • Peripheral changes advertising mote to "Any connection"

  • New user connects a device and bonds with peripheral.

  • Peripheral changes advertising mode to whitelist immediately.

Problems so far: Lost admin

Is this a good security scheme?

Parents Reply Children
Related