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?
I have an idea but i am not sure if this will be neat solution for you. As there are only two buttons, you can map button number to a device_handle, so when you want to delete the bond, you know which button is being pressed and hence you will also have a device handle. It will be then easy to delete the bond info.
I have an idea but i am not sure if this will be neat solution for you. As there are only two buttons, you can map button number to a device_handle, so when you want to delete the bond, you know which button is being pressed and hence you will also have a device handle. It will be then easy to delete the bond info.