-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Connection timeout #600
Comments
I don’t think this is a bug, the timeout means failed of connecting to a certain deviceId, please try to make sure you are connecting to the correct deviceId and if you are sure then try connecting to other peripheral and see if the problem is the same. |
I'm also facing the same issue (Connection Timeout) . I tried to disconnect before connect still Its not working . |
Any solution for this? |
I just increase my ble device advertisement packets previously 1 sec a packet and now 200 mill sec a packet . Now the connection timeout error decreased . Its not coming frequently but I cant able to avoid totally . |
The BLE advertising interval absolutely can impact this significantly. Even 200ms is still only middling. Apple recommends an interval of 20ms for at least the first 30s for best discovery, then has some suggested intervals to slow down at. See https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf |
Describe the bug
In my app it often happens that it times out
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should never return connect timeout
My code
Screenshots Logcat
Plugin version:
Smartphone (please complete the following information):
Additional context
I have already tried, as shown in my code, to insert disconnect and connect together
The text was updated successfully, but these errors were encountered: