ESP32S3 BLE UART

fjburgoa
Posts: 5
Joined: Mon Dec 23, 2024 2:54 pm

ESP32S3 BLE UART

Postby fjburgoa » Sun Sep 14, 2025 8:43 am

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

MicroController
Posts: 2705
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32S3 BLE UART

Postby MicroController » Sun Sep 14, 2025 3:38 pm

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.

MicroController
Posts: 2705
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32S3 BLE UART

Postby MicroController » Sun Sep 14, 2025 3:49 pm


fjburgoa
Posts: 5
Joined: Mon Dec 23, 2024 2:54 pm

Re: ESP32S3 BLE UART

Postby fjburgoa » Mon Sep 15, 2025 8:46 pm

Many Thanks for the hints.

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

MicroController
Posts: 2705
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32S3 BLE UART

Postby MicroController » Tue Sep 16, 2025 9:16 am

Should be possible via the BLE HID profile, like https://github.com/espressif/esp-idf/tr ... hid_device

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot], meta-externalagent and 1 guest