Serial over (classic) bluetooth / COM port can't be open with Windows 11 #11961
Replies: 6 comments
-
| If it works with other operating systems, I'd suggest you look for Windows help on the matter. The device obviously works well. | 
Beta Was this translation helpful? Give feedback.
-
| 
 That makes sense. But I have spent a lot of time to search Windows forums about this issue without any success. | 
Beta Was this translation helpful? Give feedback.
-
| Honestly what do you expect? This is Arduino issue repo. Since Windows 10 is working, something in Windows has changed and not working anymore. The BLE implementation is OS agnostic. | 
Beta Was this translation helpful? Give feedback.
-
| Windows 11 does BLE serial different! Windows 11 BLE Serial SupportWindows 11 fundamentally supports Bluetooth Low Energy (BLE) starting with version 22H2 with Bluetooth Core Specification 5.3, however not with the classic Serial Port Profile (SPP) like Bluetooth Classic. Communication via BLE works differently than direct serial connections with Bluetooth Classic. BLE vs. Bluetooth Classic SerialWith Bluetooth Classic, a virtual COM port is automatically created when you pair an SPP device. With BLE, there is no native SPP support – instead, the GATT protocol (Generic Attribute Profile) is used. BLE UART via GATTFor serial communication over BLE, GATT-based services like the Nordic UART Service (NuS) are used. This emulates a UART interface via two GATT Characteristics: 
 Practical SolutionsFor communicating with BLE UART devices on Windows 11, there are several approaches: Software Tools for Virtual COM Ports: 
 Programmatic Access: Windows provides APIs for GATT client functionality, allowing you to communicate via BLE Characteristics. Access is through GATT Services and Characteristics instead of classic serial COM ports. | 
Beta Was this translation helpful? Give feedback.
-
| Windows 11 also supports serial over classic bluetooth (SPP). For instance it communicates well with an HC-05. | 
Beta Was this translation helpful? Give feedback.
-
| I observed that an old version of espressif arduino made my SPP connection work with Windows 11. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Board
Wemos D1 R32
Device Description
No external hardware, only the Wemos D1 R32 board attached to the PC (windows 11 laptop) with an USB wire
Hardware Configuration
no connection
Version
latest stable Release (if not listed below)
Type
Bug
IDE Name
Arduino IDE
Operating System
Windows 11
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
921600
Description
SerialToSerialBT example sketch uploaded.
I succeed to pair the ESP32 with Windows 11, but it is impossible to open the relevant COM port at PC side.
It works well with another PC running Windows 10, as well as with an android phone.
Sketch
Debug Message
Other Steps to Reproduce
Works well when communicating with android device or Windows 10 device
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions