On my peripheral I filter the devices connected and refuses them when not bonded. When a device not bonded tries to connect to the peripheral, it forces the disconnection and waits some seconds. It seems to work as spected, but on iOS, there are two different behavior:
Case 1, iOS device not bonded. Bonding has never occurred: -the iPhone connects -the peripheral closes the connection -the iPhone does not try to reconnect. This is the expected behavior.
Case 2, Bonding has done. Bonding is deleted only on the peripheral, not on the iPhone. -the iPhone connects -the peripheral closes the connection -the iPhone tryes to reconnect permanently, even if the app is completely closed (Nordic nRF Connect or Lightblue)
How can I avoid the iOS reconnection, if I can't remove the bond on the phone?