/* USB String Descriptors (optional) */
const
uint8_t CustomHID_StringLangID[CUSTOMHID_SIZ_STRING_LANGID] =
{
CUSTOMHID_SIZ_STRING_LANGID,
USB_STRING_DESCRIPTOR_TYPE,
0x09,
0x04
};
/* LangID = 0x0409: U.S. English */
const
uint8_t CustomHID_StringVendor[CUSTOMHID_SIZ_STRING_VENDOR] =
{
CUSTOMHID_SIZ_STRING_VENDOR,
/* Size of Vendor string */
USB_STRING_DESCRIPTOR_TYPE,
/* bDescriptorType*/
// Manufacturer: "STMicroelectronics"
'M'
, 0,
'y'
, 0,
'U'
, 0,
'S'
, 0,
'B'
, 0,
'_'
, 0,
'H'
, 0,
'I'
,0,
'D'
,0
};
const
uint8_t CustomHID_StringProduct[CUSTOMHID_SIZ_STRING_PRODUCT] =
{
CUSTOMHID_SIZ_STRING_PRODUCT,
/* bLength */
USB_STRING_DESCRIPTOR_TYPE,
/* bDescriptorType */
'B'
, 0,
'y'
, 0,
' '
, 0,
'e'
, 0,
'm'
, 0,
'b'
, 0,
'e'
,0,
'd'
,0,
'-'
,0,
'n'
,0,
'e'
,0,
't'
,0
};
uint8_t CustomHID_StringSerial[CUSTOMHID_SIZ_STRING_SERIAL] =
{
CUSTOMHID_SIZ_STRING_SERIAL,
/* bLength */
USB_STRING_DESCRIPTOR_TYPE,
/* bDescriptorType */
'x'
, 0,
'x'
, 0,
'x'
, 0,
'x'
, 0,
'x'
, 0,
'x'
, 0,
'x'
, 0
};