Skip to content

File UsbCdcDescriptors.c

File List > demo-projets > stm32 > src > UsbCdcDescriptors.c

Go to the documentation of this file.

#include <stdint.h>

#include "usb.h"

const struct usb_string_descriptor lang_desc
    = USB_ARRAY_DESC(USB_LANGID_ENG_US);
const struct usb_string_descriptor manuf_desc_en
    = USB_STRING_DESC("robotikabrno.cz");
const struct usb_string_descriptor prod_desc_en = USB_STRING_DESC("RBCX");
const struct usb_string_descriptor cdc_iface_desc_en
    = USB_STRING_DESC("RBCX ESP32 Tunnel");
const struct usb_string_descriptor debug_iface_desc_en
    = USB_STRING_DESC("RBCX Debug UART");
struct usb_string_descriptor serial_number_desc_en
    = USB_STRING_DESC("ffffffffffffffffffffffff");