Hello everyone,
I’m working on a BLE HID project with an ESP32-C3 using the NimBLE-Arduino library. The goal is to make the ESP32 act as a BLE media remote (sending Play/Pause commands).
The code compiles and runs without errors in PlatformIO, but here’s the problem:
On my Android phone (Samsung A32), I cannot see the ESP32 device in the Bluetooth list.
I am advertising the HID service properly:
1 |
|
2 |
|
I’m using a minimal HID report map for Play/Pause.
Here is my code
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
I’ve tried:
Restarting the phone and ESP32
Using different BLE scanning apps like nRF Connect
Checking that the ESP32 is powered and advertising
But my phone still doesn’t detect it.
Questions:
Are there any specific settings required to make an ESP32-C3 BLE HID visible to mobile devices?
Could this be a compatibility issue with certain phones?
Any tips for debugging BLE advertising issues on ESP32-C3?
Thanks in advance for any guidance!