Closed mitchellcairns closed 1 day ago
See the HID example code and how it does not send the appropriate VID or PID.
I'm also getting the same problem.
IDF version: 5.1 Espressif SoC revision: ESP32 Operating System used: Windows How did you build your project?: VS Code IDE (with PlatformIO) If you are using Windows, please specify command line type: None Development Kit: Adafruit Feather ESP32 V2 Power Supply used: USB
The example is here: https://github.com/espressif/esp-idf/blob/release/v5.1/examples/bluetooth/esp_hid_device/main/esp_hid_device_main.c (Set HID_DEV_MODE to HIDD_BT_MODE)
If there are any updates on the progress of the fix, please let us know. Thanks!
Hi @alex-freeaim,
@mitchellcairns has created a pull request(https://github.com/espressif/esp-idf/pull/12889) to solve this issue, but some changes still need to be made. You can refer to it for now.
Answers checklist.
IDF version.
master
Espressif SoC revision.
ESP32
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-WROOM
Power Supply used.
USB
What is the expected behavior?
When setting the vendor_id and product_id members of esp_hid_device_config_t, then calling esp_hidd_dev_init, the appropriate Vendor ID and Product ID are reflected on the host device upon successful connection.
What is the actual behavior?
The Vendor ID is always shown as 0xFFFF and the Product ID is always shown as 0x0000
Steps to reproduce.
Debug Logs.
No response
More Information.
No response