Open ujjvaljoshi4 opened 1 year ago
Are you using any non-default configuration options?
Do you see any similar behavior when using iOS? (if applicable)
Unfortunately, bonding on android is a mixed bag like you are seeing. The library does it's best to try to smooth it out, but there's only so much it can do. That's why there is so much reconnecting code in the library. Even with that, sometimes it will not connect.
One thing you can try (which the library does automatically for Sony devices), is to always re-bond. For some reason on Sonys (and some Motorolas) in particular, in order to get more successful connections, this was the only "solution" found to work (and even then, it's not perfect).
I am getting an error (GATT_ERROR 133) while trying to connect with an already bonded/paired device. It fails to connect around 9 out of 10 times.
Here is the scenario:
Here is the log from Android Studio:
I have tested the same scenario on 3 Android devices and here are the results:
@ryanhubbell Could you please help me with this issue?