USB Libraries Help > USB Host Libraries > USB Host Layer Library > Library Interface > b) Data Types and Constants > USB_HOST_DEVICE_STRING Enumeration
MPLAB Harmony USB Stack
USB_HOST_DEVICE_STRING Enumeration

USB Host Device String Type 

This type defines the types of strings that can be request through the USB_HOST_DeviceStringDescriptorGet() function. The stringType parameter in the function call can be set any one of these types.

C
typedef enum {
  USB_HOST_DEVICE_STRING_LANG_ID = 0,
  USB_HOST_DEVICE_STRING_MANUFACTURER,
  USB_HOST_DEVICE_STRING_PRODUCT,
  USB_HOST_DEVICE_STRING_SERIAL_NUMBER
} USB_HOST_DEVICE_STRING;
Members
Members 
Description 
USB_HOST_DEVICE_STRING_LANG_ID = 0 
Specifies the language ID string 
USB_HOST_DEVICE_STRING_MANUFACTURER 
Specifies the manufacturer string 
USB_HOST_DEVICE_STRING_PRODUCT 
Specifies the product string 
USB_HOST_DEVICE_STRING_SERIAL_NUMBER 
Specifies the serial number string 
Remarks

None.