Page 1 of 1

ESP32S3 BLE UART

Posted: Sun Sep 14, 2025 8:43 am
by fjburgoa
Hi, I'm trying to implement an application in the ESP32S3 to send data from the microcontroller to a computer by bluetooth. The idea is to open a COM port in the laptpot an receiving the data as serial text.
I've been trying some of the examples in the v5.5.1, for instance
- ble_hid_device_demo, but that's to emulate a mouse or a keyboard.
- ble_spp_server_demo,but that seems not to mach with the COM service.

Any suggestion or example to start with?

Many thanks in advance

Re: ESP32S3 BLE UART

Posted: Sun Sep 14, 2025 3:38 pm
by MicroController
Unlike classic Bluetooth, BLE doesn't define a profile for virtual COM ports. Therefore, there is no standard way/BLE service to implement it and consequently no driver shipped with your OS which would make a (custom) BLE serial port emulation available as a COM port.

Re: ESP32S3 BLE UART

Posted: Sun Sep 14, 2025 3:49 pm
by MicroController

Re: ESP32S3 BLE UART

Posted: Mon Sep 15, 2025 8:46 pm
by fjburgoa
Many Thanks for the hints.

Alternately, using ESP32s3+BLE, is it possible to emulate a Joystick instead?

Re: ESP32S3 BLE UART

Posted: Tue Sep 16, 2025 9:16 am
by MicroController
Should be possible via the BLE HID profile, like https://github.com/espressif/esp-idf/tr ... hid_device