I have problem with connecting Windows 10 machine (dell laptop) to ESP32 ble, i have done procedure described in :
https://www.techcoil.com/blog/how-to-co ... indows-10/
and and system installed esp32 bt driver and paired esp32 but in More Bluetooth options -> COM port tab it cant find/Add any Com Ports (- where win10 should detect BLE as incoming and outgoing ports ). On esp i implemented GATT server ( example from https://techtotinker.blogspot.com/2021/ ... tooth.html ).
When i reset esp32 sometimes my PC show "connected" but after 2 sec return to paired status.
On the other hand i tested my program with smartphone connection via serialBT terminal all work OK, also i have another device working as
BLE ( mindWave bt ) an I did not have problem with connection as virtual com ports on laptop.
So i wonder where problem is - any idea??
Connect esp32 BLE to PC BT
Re: Connect esp32 BLE to PC BT
Unfortunately the two links you provided are for two quite different things.
The first is for "Classic Bluetooth" which provides a Serial profile. It isn't BLE. (The ESP32 supports both "classic" and "BLE", although MicroPython only allows access to the BLE part).
The second is how to set up a Nordic UART Service (NUS) which is one of the GATT services you can run over BLE. It behaves much like the serial profile, but isn't supported as widely. I do not know if you can make Windows 10 talk to a BLE NUS device as a COM port (have not investigated).