Arduino IDE: SerialToSerialBT.ino doesn't work with Windows
Posted: Fri Nov 28, 2025 4:49 pm
A project of mines invloves sending data from a sensor to Windows via a serial port over bluetooth.
My first test was to compile and upload the "SerialToSerialBT.ino" sketch example:
1) It compiles and upload fine;
2) Discovering the ESP32 as a bluetooth device and pairing it from Windows works fine;
3) Two COM ports are properly created;
4) BUT: Any attempt to open the COM port in Windows to communicate with ESP32 fails (get "impossible to open COMx port" message).
Other trials:
- Rollback the ESP32 espressif board support package (BSP) from 3.3.3 to 1.0.4 makes it work
- Testing with Windows 10 rather than Windows 11 makes it work (even with Espressif BSP V3.3.3)
Complementary information: my bord is a Wemos D1 R32
Considering that transmitting data over bluetooth from an ESP32 to a Windows COM port is so basic that I don't understand how is this possible that it doesn't work the first time!
Please help! What am I doing wrong. Or, if actually a bug in ESP32 Espressif BSP, when will it be fixed?
My first test was to compile and upload the "SerialToSerialBT.ino" sketch example:
1) It compiles and upload fine;
2) Discovering the ESP32 as a bluetooth device and pairing it from Windows works fine;
3) Two COM ports are properly created;
4) BUT: Any attempt to open the COM port in Windows to communicate with ESP32 fails (get "impossible to open COMx port" message).
Other trials:
- Rollback the ESP32 espressif board support package (BSP) from 3.3.3 to 1.0.4 makes it work
- Testing with Windows 10 rather than Windows 11 makes it work (even with Espressif BSP V3.3.3)
Complementary information: my bord is a Wemos D1 R32
Considering that transmitting data over bluetooth from an ESP32 to a Windows COM port is so basic that I don't understand how is this possible that it doesn't work the first time!
Please help! What am I doing wrong. Or, if actually a bug in ESP32 Espressif BSP, when will it be fixed?