-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
Type: Feature requestFeature request for Arduino ESP32Feature request for Arduino ESP32
Description
Related area
usb, usb hid
Hardware specification
ESP32S3
Is your feature request related to a problem?
As a newcomer to HID device development, I have recently been attempting to develop a custom HID project. Based on the existing functionality, I am able to complete the development of most features. However, I noticed that the Vendor name and Product name recognized in my operating system are "Espressif Systems" and "TinyUSB HID" respectively. I would like to be able to modify these two strings.
Describe the solution you'd like
- As in esp-idf, by defining it in the following manner:
const char* hid_string_descriptor[5] = {
// array of pointer to string descriptors
(char[]){0x09, 0x04}, // 0: is supported language is English (0x0409)
"TinyUSB", // 1: Manufacturer
"TinyUSB Device", // 2: Product
"123456", // 3: Serials, should use chip ID
"Example HID interface", // 4: HID
};- Provide methods similar to the following:
void set_vendor_name(char* name, size_t size);
void set_device_name(char* name, size_t size);Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
- I confirm I have checked existing list of Feature requests and Contribution Guide.
Metadata
Metadata
Assignees
Labels
Type: Feature requestFeature request for Arduino ESP32Feature request for Arduino ESP32