-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Bug] Unexpected error when connecting too fast. #737
Comments
What operating system are you using? We have quite a few reports already for this error on Windows. We've already added a 1 second delay in pybricks/pybricks-code@a869675 to try to work around this. Can you include Wireshark logs, D-Bus logs, etc? |
Ubuntu 22.04. I might be able to get logs on Thursday or Friday. |
Does pybricks/pybricks-micropython@1815b8e make a difference? |
It does seem to be triggered way less often, or even solved entirely*. I'll keep an eye out for it today. *There's a slight UX issue remaining, so I'll post that over in #600 |
|
Since we have made an improvement, should we call this good enough and close the issue? |
Original issue
When connecting to a hub after turning it on, there is often a Bluetooth error. Trying again fixes it.
This has happened for as long as I remember, but reproducing it has been an issue.
Reproducible variant
When quickly connecting to a hub after disconnecting, there is often a Bluetooth error. Trying again fixes it.
This seems quite similar.
To reproduce
The following is done with an Inventor Hub with the latest firmware, but I have previously seen this happen with all hubs.
Screencast.from.18-10-22.09.38.10.webm
Is it possible to wait a while for
getPrimaryService
to get ready?The text was updated successfully, but these errors were encountered: