esp-idf icon indicating copy to clipboard operation
esp-idf copied to clipboard

How do I configure reports for specific classes in ble_hid_device_demo (IDFGH-12687)

Open SeanYang-7 opened this issue 10 months ago • 4 comments

Answers checklist.

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

IDF version.

v5.1.1

Operating System used.

Windows

How did you build your project?

Command line with Make

If you are using Windows, please specify command line type.

None

What is the expected behavior?

The host sends specific class commands

What is the actual behavior?

The host is not delivered, and the driver is normal

Steps to reproduce.

  1. Step
  2. Step
  3. Step ...

Build or installation Logs.

No response

More Information.

hid configuration: test_HID.txt

SeanYang-7 avatar Apr 23 '24 09:04 SeanYang-7

Hello @SeanYang-7, thanks for using our Espressif product! May I know which chip do you use?

weiyuhannnn avatar Apr 24 '24 03:04 weiyuhannnn

Hello @SeanYang-7, thanks for using our Espressif product! May I know which chip do you use?

Thanks for your reply. the chip used is ESP32 C3

SeanYang-7 avatar Apr 26 '24 02:04 SeanYang-7

Hello @weiyuhannnn Is there a solution?

SeanYang-7 avatar Apr 27 '24 08:04 SeanYang-7

please ref "hidReportMap" in esp-idf/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/hid_device_le_prf.c and usb hid spec https://www.usb.org/hid

esp-zhp avatar Apr 29 '24 07:04 esp-zhp