I am trying to allow 2 peripherals to bond to a central, and would like to be able to use 2 push buttons to delete the bond information for either device. Is it possible to clear the persistent data selectively like this?
I am trying to allow 2 peripherals to bond to a central, and would like to be able to use 2 push buttons to delete the bond information for either device. Is it possible to clear the persistent data selectively like this?
The idea is for example I would boot the system with button 1 held. This would clear the bonding info in slot 1, and accept a new bond from a device. Button 2 would do the same thing for the other device. So basically whichever button was used to bond the device would be used to then delete that device.
Since the button is being held during bootup we could prevent them from connecting in this mode.
The idea is for example I would boot the system with button 1 held. This would clear the bonding info in slot 1, and accept a new bond from a device. Button 2 would do the same thing for the other device. So basically whichever button was used to bond the device would be used to then delete that device.
Since the button is being held during bootup we could prevent them from connecting in this mode.