Skip to content

[Bug] EV3 Bluetooth Classic works with Pybricks CLI on Windows but is not detected by Pybricks Code #2897

Open

Description

@MaYongfei123

Describe the bug

I have a LEGO MINDSTORMS EV3 running Pybricks firmware 4.1.3.

The EV3 connects successfully to Pybricks Code via Bluetooth on macOS. However, on two different Windows computers, both the stable and beta versions of Pybricks Code fail to discover the EV3.

The browser's serial port selection dialog displays:

No compatible devices found.

Interestingly, the official Pybricks CLI on Windows can successfully discover and connect to the same EV3 using Bluetooth Classic (RFCOMM), and can read its firmware version and hub status.

Environment

Hub: LEGO MINDSTORMS EV3

Hub name: Armadillo

Firmware: Pybricks 4.1.3

Pybricks Profile: 1.7.0

Windows: Build 26300.9711 (tested machine)

Browser: Google Chrome 156

Pybricks Code: Stable and Beta

Pybricks CLI: 1.0.0b1

Connection: Bluetooth Classic / RFCOMM

Reproduced on two different Windows computers

macOS Bluetooth connection works

Steps to reproduce

Power on the EV3 with Pybricks firmware 4.1.3.

Pair the EV3 with Windows using Bluetooth settings.

Open https://code.pybricks.com/ or https://beta.pybricks.com/ in Chrome.

Click the serial connection button.

The browser reports "No compatible devices found" and does not list the EV3.

Troubleshooting already performed

  1. Bluetooth pairing

Successfully paired the EV3 with Windows.

Windows created outgoing and incoming Bluetooth serial ports (COM5 and COM6).

Disconnected the Mac to avoid competing Bluetooth connections.

Reproduced the same problem on another Windows PC.

  1. Chrome Web Serial test

Using Google Chrome Labs Serial Terminal:

Chrome successfully listed COM5 and COM6.

A serial port was successfully opened and reported .

Pybricks Code still did not list any compatible devices.

  1. Custom RFCOMM service test

Tested the Pybricks Bluetooth Classic service UUID:

c5f50101-8280-46da-89f4-6d8051e4aeef

A strict service-filtered request did not result in a device selection.

An unfiltered request with the custom service allowed listed COM5 and COM6.

  1. Windows Bluetooth COM port configuration

Attempted to register an outgoing Bluetooth COM port manually.

The Windows wizard did not list the EV3 as an available device/service for this operation.

  1. Official Pybricks CLI

Installed uv and pybricks-cli on Windows.

The following command successfully discovered the EV3:

pb scan --transport rfcomm --timeout 20 -vv
Armadillo
SCAN_EXIT=0

The connection command also succeeded:

pb connect --hub Armadillo --transport rfcomm

Connected to Armadillo (EV3 brick, firmware 4.1.3).
CONNECT_EXIT=0

Hub status:

name Armadillo
state connected
connection Bluetooth Classic
type EV3 brick
firmware 4.1.3
protocol 1.7.0
slots 4
program stopped
STATUS_EXIT=0

The service logs confirmed that the RFCOMM connection changed from connecting to connected.

Expected behavior

The EV3 should appear in the Pybricks Code serial device selection dialog on Windows, allowing me to connect and program the hub via Bluetooth, as it does on macOS.

Actual behavior

The Pybricks Code browser interface cannot discover the EV3, even though the official Pybricks CLI successfully communicates with the same device on the same Windows computer.

Questions

Does Pybricks Code use a different RFCOMM service discovery or filtering mechanism from Pybricks CLI?

Could this be a Windows Web Serial compatibility issue involving the custom Pybricks Bluetooth service UUID?

Is there a recommended way to register or enable this service for Chrome on Windows?

Is there a known fix or workaround that allows Pybricks Code to use the working Bluetooth connection?

I can provide screenshots, CLI diagnostics, and additional logs if needed.

Thank you for your help!

EV3_Pybricks_Log_For_GitHub.txt

Activity

  1. added
    triage
    on Nov 10, 2026
  2. laurensvalk commented on Nov 10, 2026

    @laurensvalk
    Member

    Thank you for all the details! This is helpful. I am curious about this part. Am I reading correctly that you could find it when not filtering for the UUID?

    Tested the Pybricks Bluetooth Classic service UUID:

    c5f50101-8280-46da-89f4-6d8051e4aeef

    A strict service-filtered request did not result in a device selection.

    An unfiltered request with the custom service allowed listed COM5 and COM6.

    Are you able to see the EV3s with this older version of the app? You don't have to update the firmware; I'm just curious if the bricks appear in the device picker.

    We used a less strict filtering back then, showing both the ones with our UUID, as well as a generic RFCOMM service.

  3. added
    topic: bluetooth
    software: pybricks-code
    and removed
    triage
    on Nov 10, 2026
  4. added theissue type on Nov 10, 2026
  5. laurensvalk commented on Nov 10, 2026

    @laurensvalk
    Member

    Also, what do you see in Windows Device Manager?

    It is expected that the device is listed under:

    • Other devices (as Pybricks). If you go to its properties > Events, there should be BTHENUM\{c5f50101..... in the information field.
    • Bluetooth

    It should not be listed under Ports (COM & LPT).

    Is it possible that these EV3s were first paired using an older firmware? Does it get fixed if you delete them from Bluetooth settings, and then do a clean new pairing?

  6. MaYongfei123 commented on Nov 15, 2026

    @MaYongfei123
    Author

    Hi Laurens,

    Thank you for your suggestions. I've completed the additional tests on Windows.

    1. Older Pybricks Code

    • Tested the older version you provided.
    • Result: "No compatible devices found."
    • The current version has the same issue.

    2. Windows Bluetooth

    • The EV3 appears as "Armadillo (MINDSTORMS EV3)" and pairs successfully.
    • Removing the device and pairing it again did not resolve the issue.

    3. Windows Device Manager

    • A separate "Pybricks" device appears under "Other devices."
    • Its hardware ID is:
      BTHENUM\{c5f50101-8280-46da-89f4-6d8051e4aeef}
    • Windows reports that this device is working properly.

    4. Pybricks CLI

    • Installed pybricksdev 1.0.0a49 with Python 3.9.13.
    • The run --help command only lists ble, usb, and ssh connection types.
    • Therefore, I have not yet verified an actual RFCOMM connection or program execution from Windows.

    Current situation:

    Windows successfully pairs with the EV3 and enumerates the Pybricks Bluetooth service, but neither the current nor the older Pybricks Code website can discover the device.

    Could you suggest the next diagnostic step? In particular, is there a way to verify whether Windows exposes the Pybricks RFCOMM service correctly to Chrome's Web Serial API?

    Thank you for your help!

  7. dlech commented on Nov 15, 2026

    @dlech
    Member
    • Installed pybricksdev 1.0.0a49 with Python 3.9.13.

    Try the new https://pybricks.com/pybricks-tools/. It should support EV3 over Bluetooth.

    Could you suggest the next diagnostic step? In particular, is there a way to verify whether Windows exposes the Pybricks RFCOMM service correctly to Chrome's Web Serial API?

    Have a look at chrome://device-log in a new tab in the browser and see what it says.

  8. MaYongfei123 commented on Nov 20, 2026

    @MaYongfei123
    Author

    Hi, I have completed further tests on a second Windows PC.

    The new Pybricks CLI works successfully:

    • pb scan --transport rfcomm: Armadillo found.
    • pb connect --hub Armadillo --transport rfcomm: Connected.
    • pb status: Bluetooth Classic, firmware 4.1.3.
    • pb run: Python program executed successfully.
      The EV3 beeped and printed "AIGO RFCOMM TEST OK".

    However, Pybricks Code still cannot discover the EV3
    in either Chrome or Edge.

    I also tested navigator.serial.requestPort():

    A. Filtering specifically for the Pybricks service UUID:
    No compatible devices found.

    B. Allowing the Pybricks UUID without filtering:
    COM5 and COM6 appear, but not the Pybricks service.

    Windows PnP inspection confirms:

    • Pybricks: c5f50101-8280-46da-89f4-6d8051e4aeef
    • COM5: standard SPP UUID 00001101...
    • COM6: standard SPP UUID 00001101...

    COM6 also has a different Bluetooth device identifier
    from the Pybricks device.

    This suggests that the custom Pybricks RFCOMM service
    is not being exposed through Chromium's Web Serial
    device picker, despite successful native CLI access.

    Could you suggest the next step for investigating
    custom RFCOMM service enumeration on Windows?

  9. dlech commented on Nov 24, 2026

    @dlech
    Member

    I just tried this on Windows using Edge browser and Pybricks firmware v4.1.3 and Pybricks Code v3.1.3 and it works as expected.

    I'm not sure where these COMx are coming from, but you could try to delete them in the Device Manager.

    And my suggestion of checking chrome://device-log still stands.

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

    software: pybricks-codetopic: bluetooth

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions