}; /** String descriptor with the supported languages. */ const unsigned char languageIdDescriptor[] = { USBStringDescriptor_LENGTH(1), USBGenericDescriptor_STRING, USBStringDescriptor_ENGLISH_US }; /** Manufacturer name. */ const unsigned char manufacturerDescriptor[] = { USBStringDescriptor_LENGTH(5), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('A'), USBStringDescriptor_UNICODE('t'), USBStringDescriptor_UNICODE('m'), USBStringDescriptor_UNICODE('e'), USBStringDescriptor_UNICODE('l') }; /** Product name. */ const unsigned char productDescriptor[] = { USBStringDescriptor_LENGTH(15), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('C'), USBStringDescriptor_UNICODE('D'), USBStringDescriptor_UNICODE('C'), USBStringDescriptor_UNICODE(' '),
/** Language ID string descriptor */ const unsigned char languageIdStringDescriptor[] = { USBStringDescriptor_LENGTH(1), STRING_DESCRIPTOR, USBStringDescriptor_ENGLISH_US }; /** Product string descriptor */ const unsigned char productStringDescriptor[] = { USBStringDescriptor_LENGTH(13), STRING_DESCRIPTOR, USBStringDescriptor_UNICODE('A'), USBStringDescriptor_UNICODE('T'), USBStringDescriptor_UNICODE('9'), USBStringDescriptor_UNICODE('1'), USBStringDescriptor_UNICODE('U'), USBStringDescriptor_UNICODE('S'), USBStringDescriptor_UNICODE('B'), USBStringDescriptor_UNICODE('S'), USBStringDescriptor_UNICODE('e'), USBStringDescriptor_UNICODE('r'), USBStringDescriptor_UNICODE('i'), USBStringDescriptor_UNICODE('a'), USBStringDescriptor_UNICODE('l') }; /** List of string descriptors used by the device */
* productDescriptor - Product name. * serialNumberDescriptor - Product serial number. * stringDescriptors - Array of pointers to string descriptors. */ static const unsigned char languageIdDescriptor[] = { USBStringDescriptor_LENGTH(1), USBGenericDescriptor_STRING, USBStringDescriptor_ENGLISH_US }; static const unsigned char manufacturerDescriptor[] = { USBStringDescriptor_LENGTH(5), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('A'), USBStringDescriptor_UNICODE('T'), USBStringDescriptor_UNICODE('M'), USBStringDescriptor_UNICODE('E'), USBStringDescriptor_UNICODE('L') }; static const unsigned char productDescriptor[] = { USBStringDescriptor_LENGTH(22), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('A'), USBStringDescriptor_UNICODE('T'), USBStringDescriptor_UNICODE('M'), USBStringDescriptor_UNICODE('E'), USBStringDescriptor_UNICODE('L'),
}; /** String descriptor with the supported languages. */ const unsigned char languageIdDescriptor[] = { USBStringDescriptor_LENGTH(1), USBGenericDescriptor_STRING, USBStringDescriptor_ENGLISH_US }; /** Manufacturer name. */ const unsigned char manufacturerDescriptor[] = { USBStringDescriptor_LENGTH(5), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('A'), USBStringDescriptor_UNICODE('t'), USBStringDescriptor_UNICODE('m'), USBStringDescriptor_UNICODE('e'), USBStringDescriptor_UNICODE('l') }; /** Product name. */ const unsigned char productDescriptor[] = { USBStringDescriptor_LENGTH(15), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('D'), USBStringDescriptor_UNICODE('e'), USBStringDescriptor_UNICODE('s'), USBStringDescriptor_UNICODE('k'),
}; // Language ID string descriptor static const unsigned char languageIdStringDescriptor[] = { USBStringDescriptor_LENGTH(1), USBGenericDescriptor_STRING, USBStringDescriptor_ENGLISH_US }; // Product string descriptor static const unsigned char productStringDescriptor[] = { USBStringDescriptor_LENGTH(24), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('P'), USBStringDescriptor_UNICODE('i'), USBStringDescriptor_UNICODE('n'), USBStringDescriptor_UNICODE('g'), USBStringDescriptor_UNICODE('T'), USBStringDescriptor_UNICODE('e'), USBStringDescriptor_UNICODE('s'), USBStringDescriptor_UNICODE('t'), USBStringDescriptor_UNICODE('e'), USBStringDescriptor_UNICODE('r'), USBStringDescriptor_UNICODE(' '), USBStringDescriptor_UNICODE('E'), USBStringDescriptor_UNICODE('t'), USBStringDescriptor_UNICODE('h'), USBStringDescriptor_UNICODE('e'), USBStringDescriptor_UNICODE('r'),