Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp hid device example won't work using mobile phone (IDFGH-14225) #15021

Open
3 tasks done
Sagigamil opened this issue Dec 12, 2024 · 3 comments
Open
3 tasks done

esp hid device example won't work using mobile phone (IDFGH-14225) #15021

Sagigamil opened this issue Dec 12, 2024 · 3 comments
Assignees
Labels
Status: Opened Issue is new

Comments

@Sagigamil
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi all,
I compiled and ran esp_hid_device_main.c example on esp32-c3.
I managed to connect to the esp using my laptop, but nothing happen when I try to connect using my phone.
I also enabled the debug for all the stack layers and yet, when I hit the device on the devices list on my phone (I own s23 ultra), nothing happens. Maybe my phone refuses to connect to the esp since it's unothorized vendor or something similar?
Any idea?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 12, 2024
@github-actions github-actions bot changed the title esp hid device example won't work using mobile phone esp hid device example won't work using mobile phone (IDFGH-14225) Dec 12, 2024
@esp-zhp
Copy link
Collaborator

esp-zhp commented Dec 17, 2024

@Sagigamil
The version you’re using—I’ve fixed some HID-related issues in it, but are you sure your version includes these fixes?

Here are some relevant commits (there may be more):

I recommend upgrading to the latest version to check if the issue still persists.

@esp-zhp
Copy link
Collaborator

esp-zhp commented Dec 17, 2024

It should work on your phone.

@esp-zhp
Copy link
Collaborator

esp-zhp commented Dec 17, 2024

We also have another HID example that you can refer to:
esp-idf/examples/bluetooth/bluedroid/ble/ble_hid_device_demo.

If you have any further questions, please let me know. I look forward to your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

3 participants