I have interract with a BLE device using an iOS App. These devices are bonded.
The problem appears when I go to Settings and I press 'Forget Device'. The application keeps trying to connect even though the device was forgotten because on the "peripheral:didDisconnect" callback I try to reconnect to the device. The bluetooth device sends a disconnect event because the bond is not good anymore. Then the application tries again a connection and so on.
I tried to look at the error code in the "peripheral:didDisconnect:" but It did not look very relevant.
Does anyone have a solution for this?