Is there a way to make an ESP32 listen to an Bluetooth HID device?
This without pairing.
I want an ESP32 (C3) to listen to an HID device and act upon the data...
Thanks!
ESP32 Bluetooth HID possible?
-
- Posts: 348
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 08, 2020 5:11 pm
- Has thanked: 99 times
- Been thanked: 69 times
Re: ESP32 Bluetooth HID possible?
Thank you, mnfisher. Unfortunately, I can't make much sense of that topic.
Is it about HID?
The file mentioned doesn't even seem to include a Bluetooth component.
For some reason, I can't compile it.
I've never used nRF Connect — I didn't even know it existed.
All I want to do is have an ESP32, using its built-in Bluetooth, listen to a specific HID device without pairing, and trigger certain actions when it receives certain codes.
Maybe I need to include the device’s unique address in my code?
Is this even possible?
Is it about HID?
The file mentioned doesn't even seem to include a Bluetooth component.
For some reason, I can't compile it.
I've never used nRF Connect — I didn't even know it existed.
All I want to do is have an ESP32, using its built-in Bluetooth, listen to a specific HID device without pairing, and trigger certain actions when it receives certain codes.
Maybe I need to include the device’s unique address in my code?
Is this even possible?
-
- Valued Contributor
- Posts: 1604
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 565 times
Re: ESP32 Bluetooth HID possible?
Hi
I'm not an expert, but I believe for HID you must pair devices. If using BLE then that isn't necessary (on a mobile device) but I'm not sure if BLE is supported yet. The forum has some posts regarding such.
Regards
I'm not an expert, but I believe for HID you must pair devices. If using BLE then that isn't necessary (on a mobile device) but I'm not sure if BLE is supported yet. The forum has some posts regarding such.
Regards
-
- Valued Contributor
- Posts: 1546
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 138 times
- Been thanked: 737 times
Re: ESP32 Bluetooth HID possible?
Also see https://flowcode.co.uk/forums/viewtopic ... ra+shutter where managed to get an esp32 acting as a BLE keyboard...
Re: ESP32 Bluetooth HID possible?
Thank you mnfisher, the topic you've mentioned is 3 years old, the structure of a FC project has changed a lot.mnfisher wrote: ↑Fri Jun 27, 2025 1:59 pmAlso see https://flowcode.co.uk/forums/viewtopic ... ra+shutter where managed to get an esp32 acting as a BLE keyboard...
But the project is meant to send data to a PC, like it was a keyboard.
I want to work other way round.
I have a "Bluetooth" clicker that I want to send data to the ESP, the ESP should read which button was clicked and act upon it.
So I need to know the UUID of the clicker and make the ESP listen to it...
-
- Valued Contributor
- Posts: 1546
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 138 times
- Been thanked: 737 times
Re: ESP32 Bluetooth HID possible?
I've experimented a bit - I've tried to get an esp32 connected to a bicycle radar (Garmin). - it's possible although I used mostly c from one of the espressif example files. It then used a callback function to respond to messages received.
Time pressure meant I never quite got where I wanted (a handlebar 'readout' of approaching traffic) - but I will revisit it and make a more determined effort...
Martin
Time pressure meant I never quite got where I wanted (a handlebar 'readout' of approaching traffic) - but I will revisit it and make a more determined effort...
Martin
Re: ESP32 Bluetooth HID possible?
Thank you, Martin.
Throughout the entire forum, your clear and kindness-driven messages resonate.
I think you are Matrix’s best ambassador
It’s sometimes such a shame that from the company itself, things can be deafeningly silent.
In the past, the lack of feedback has been mentioned before, and the standard reply was always that they’re busy — which everyone understands.
But I believe we’ve reached another moment where Matrix seems absent from their own forum.
As a user, it would simply be nicer if someone just said “we’re looking into it” or “no time right now.” Instead, several topics receive little to no follow-up.
It would also be nice if someone from Matrix responded on the forum now and then, even if they think the topics are too simple — or just too complex.
I’m sure I speak on behalf of everyone here when I say: THANK YOU , Martin aka mnfisher!
Throughout the entire forum, your clear and kindness-driven messages resonate.
I think you are Matrix’s best ambassador

It’s sometimes such a shame that from the company itself, things can be deafeningly silent.
In the past, the lack of feedback has been mentioned before, and the standard reply was always that they’re busy — which everyone understands.
But I believe we’ve reached another moment where Matrix seems absent from their own forum.
As a user, it would simply be nicer if someone just said “we’re looking into it” or “no time right now.” Instead, several topics receive little to no follow-up.
It would also be nice if someone from Matrix responded on the forum now and then, even if they think the topics are too simple — or just too complex.
I’m sure I speak on behalf of everyone here when I say: THANK YOU , Martin aka mnfisher!
-
- Matrix Staff
- Posts: 1508
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 211 times
- Been thanked: 350 times
Re: ESP32 Bluetooth HID possible?
I agree - @mnfisher, @chipfryer27 and others provide so much valuable help on this forum and every contribution they make is appreciated so much. It would be impossible for this forum to exist without the selflessness and thoughtfulness of these people.
I hope the following does no dilute this message of gratitude. But I do feel compelled to respond to some of the comments in this post.
This forum is a place where users can communicate and help each other. We have tried in the past to be the sole source of help for users' projects and it quickly becomes unsustainable. So we strive to create a community on this forum where users can learn from and help each other. We try to respond when bugs are identified or potential new features are suggested and that is our main focus on this forum.
But we do post here. I've just counted posts on this forum and since last Monday I have posted 17 times (beating @mnfisher by 1 - although I admit it's unusual for me to exceed his output!). So I think the assertion that we are silent is a little unfair.
Personally I contribute on the forums whenever I have direct knowledge that can help a topic, or if I see that a topic is not being answered then I make my colleagues aware of it. I have never tried to use Bluetooth HID on an ESP32 and so don't feel I can add anything to the ongoing conversation in this topic.
I hope the following does no dilute this message of gratitude. But I do feel compelled to respond to some of the comments in this post.
This forum is a place where users can communicate and help each other. We have tried in the past to be the sole source of help for users' projects and it quickly becomes unsustainable. So we strive to create a community on this forum where users can learn from and help each other. We try to respond when bugs are identified or potential new features are suggested and that is our main focus on this forum.
But we do post here. I've just counted posts on this forum and since last Monday I have posted 17 times (beating @mnfisher by 1 - although I admit it's unusual for me to exceed his output!). So I think the assertion that we are silent is a little unfair.
Personally I contribute on the forums whenever I have direct knowledge that can help a topic, or if I see that a topic is not being answered then I make my colleagues aware of it. I have never tried to use Bluetooth HID on an ESP32 and so don't feel I can add anything to the ongoing conversation in this topic.