I am trying to manage the bonds as follows. I've defined the max bonded masters as 4 on my slave. When this list gets full, I delete a random bonded master on the slave (not the last one in use) after disconnection. This is working without any problem, but I have found the following issue. If a deleted bonded master keeps the bond with the slave and the slave starts advertising, the deleted bonded masters connects to the slave momentarily and then the slave disconnects. This is a problem because the deleted bonded masters still displays the slave as bonded but it is not able to keep the keeps the connection. I know that a solution is to delete the bond from the master but this may be confusion and difficult to interpret for the user. Is there any workaround for this issue?
Thank you.