Hi, I have a problem with BLE connection. When I bond to the device and then connect, everything works and connection is stable. When I kill the app and try to connect again to the bonded device, I get disconnected from the Android with status code 22(connection terminated by localhost).
Do you know the difference of these scenarios under the Android hood? I can't figure out why does this keep happening when the phone is obviously able to connect to the device after the bonding procedure.
For connection I use the standard code used in the Android examples, there is no magic going on.
Thanks a lot for your help.