Use USB strings

In this use case, the usual USB strings is added in the USB device.

Setup steps

Prior to implement this use case, be sure to have already apply the UDI module "basic use case".

Usage steps

Example code

Content of conf_usb.h:

#define USB_DEVICE_MANUFACTURE_NAME "Manufacture name"
#define USB_DEVICE_PRODUCT_NAME "Product name"
#define USB_DEVICE_SERIAL_NAME "12...EF"

Workflow

  1. Ensure that conf_usb.h is available and contains the following parameters required to enable different USB strings:
    • // Static ASCII name for the manufacture
      #define USB_DEVICE_MANUFACTURE_NAME "Manufacture name"
    • // Static ASCII name for the product
      #define USB_DEVICE_PRODUCT_NAME "Product name"
    • // Static ASCII name to enable and set a serial number
      #define USB_DEVICE_SERIAL_NAME "12...EF"


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:07