Jump to content

RxUsbStringSetDescriptor

From EDM2
Revision as of 23:47, 20 January 2017 by Martini (talk | contribs) (Created page with "==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 Des...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Return Code

Errors

Remarks

Example Code


Related Functions