espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
12.56k stars 7.01k forks source link

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

Open SeanYang-7 opened 3 weeks ago

SeanYang-7 commented 3 weeks ago

Answers checklist.

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

weiyuhannnn commented 3 weeks ago

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

SeanYang-7 commented 2 weeks ago

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 commented 2 weeks ago

Hello @weiyuhannnn Is there a solution?

zhp0406 commented 2 weeks ago

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