Skip to content

[Bug] Hub Refuses to Connect 50% of the time #1355

Open

Description

@WhyFenceCode

Describe the bug
The hub just fails to connect around 20% of the time, and the rest of the time it works just fine. The hub is right beside my computer, and on the attempts that it works, the bluetooth light instantly goes blue, and on the ones were it fails, it just keeps flashing.

To reproduce
Steps to reproduce the behavior:

  1. Press the bluetooth connect hub button.
  2. Select your hub.
  3. Wait for problems to occur.
  4. See red connection failed error.

Expected behavior
I expected I higher rate of connections working, as once I get it connected, it is very stable.

Activity

  1. added
    triage
    on Dec 27, 2023
  2. dlech commented on Dec 27, 2023

    @dlech
    Member

    Some Bluetooth adapters work better than others. To hazard a guess, you are using Windows with a built-in Intel combo Wi-fi + Bluetooth?

  3. WhyFenceCode commented on Dec 27, 2023

    @WhyFenceCode
    Author

    True, some do work better than others, and I am on exactly what you described, the only reason I mention this is everything else I have works really well instantly.

  4. added
    topic: bluetooth
    OS: Windows 11
    software: pybricks-code
    and removed
    triage
    on Dec 27, 2023
  5. dlech commented on Dec 27, 2023

    @dlech
    Member

    If you want to dig deeper, you can try logging Bluetooth packets as described in #270. Or if you want to try a different Bluetooth adapter, there are some know good ones listed in #921.

  6. Timfinity4 commented on Oct 18, 2024

    @Timfinity4
    Connection Error: Connection attempt failed.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: Windows 11software: pybricks-codetopic: bluetooth

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions