This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Direct connection after disconnect

Direct connection after disconnect
            
I am using the iPhone 8,  BLE device (51822/51422), s130, SDK 12.3.0.

and using a bonding and passkey to connect.

However, Direct connection after disconnect
            
For example,
            
1.
   - At first connection, it is connected and the passkey input window appears.
   - Press the cancel button.
   - Disconnected.
   - However, it is reconnected immediately and the passkey input window appears again.
   - After this, if i press cancel button or input wrongly, disconnect, and then the input window appears immediately after connection.


2.
   - After entering the passkey, connect and disconnect normally. (In this case, after disconnect , it normally advertises)
   - Delete the bond erase in device (keep the phone's bond information intact)
   - If i try to connect, it will fail because it does not have the device's bond information. (normal)
   - But... After I disconnect, I just want to advertise. However, as soon as the advertisement is disconnected, direct connection - failure - disconnect - advertisement - connection - failure -  disconnect  - advertisement... repeats itself.