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
ESP32S3 BLE UART
-
MicroController
- Posts: 2705
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32S3 BLE UART
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
Many Thanks for the hints.
Alternately, using ESP32s3+BLE, is it possible to emulate a Joystick instead?
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
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], Qwantbot and 3 guests