Repository navigation
Description
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
- 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.
- 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.
- 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.
- 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.
- 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!
Activity
laurensvalk commentedon Nov 10, 2026
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?
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.
laurensvalk commentedon Nov 10, 2026
Also, what do you see in Windows Device Manager?
It is expected that the device is listed under:
Pybricks). If you go to its properties > Events, there should beBTHENUM\{c5f50101.....in the information field.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?
MaYongfei123 commentedon Nov 15, 2026
Hi Laurens,
Thank you for your suggestions. I've completed the additional tests on Windows.
1. Older Pybricks Code
2. Windows Bluetooth
3. Windows Device Manager
BTHENUM\{c5f50101-8280-46da-89f4-6d8051e4aeef}4. Pybricks CLI
pybricksdev 1.0.0a49with Python 3.9.13.run --helpcommand only listsble,usb, andsshconnection types.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!
dlech commentedon Nov 15, 2026
Try the new https://pybricks.com/pybricks-tools/. It should support EV3 over Bluetooth.
Have a look at
chrome://device-login a new tab in the browser and see what it says.MaYongfei123 commentedon Nov 20, 2026
Hi, I have completed further tests on a second Windows PC.
The new Pybricks CLI works 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:
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?
dlech commentedon Nov 24, 2026
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-logstill stands.