RxUsbStringSetDescriptor
Appearance
Description
Warning: Do NOT use this function unless you know your USB device supports it.
Executes the Standard Device Request that adds or updates the String Descriptor.
Syntax
rc = RxUsbStringSetDescriptor(Handle,Index,Language,Length,Descriptor)
Parameters
- Handle
- the Device Handle received from the previous RxUsbOpen.
- Index
- the Descriptor Index or 0 to supply the array of Language Codes.
- Language
- the Language Code. The Language Code for English is 1033.
- Length
- the desired number of bytes or 0 for the whole String Descriptor.
- Descriptor
- the String Descriptor appropriate for the device.