How to send messages using bluetooth

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
GreenNarae
Posts: 1
Joined: Sun Oct 25, 2020 4:56 pm

How to send messages using bluetooth

Post by GreenNarae » Sun Oct 25, 2020 5:08 pm

Hi!
I purchased esp32 this time and am working on the project.
Led control was successful using Raspberry Pi. But I don't know How to do with the next Bluetooth communication.
I want to send texts like a keyboard using Bluetooth. But since I'm new to esp32, I don't know where to approach it.
It would be very helpful if you, the experts, advise me.
Thank you!

User avatar
jimmo
Posts: 2015
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: How to send messages using bluetooth

Post by jimmo » Sun Oct 25, 2020 11:43 pm

GreenNarae wrote:
Sun Oct 25, 2020 5:08 pm
I want to send texts like a keyboard using Bluetooth. But since I'm new to esp32, I don't know where to approach it.
Hi,

It sounds like you want to make the ESP32 act as a Bluetooth (BLE) keyboard. Which is to say, implement the BLE HID service.

Please see https://github.com/micropython/micropython/pull/6559 for an example implementation of this.

Post Reply