You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to usb4java
Hi,
Here is an example from the USB_Video_Class_1.1 specification:
The wValue field interpretation is qualified by the value in the wIndex field. Depending on what entity is addressed, the layout of the wValue field changes. The following paragraphs describe the contents of the wValue field for each entity separately. In most cases, the wValue field contains the Control Selector (CS) in the high byte. It is used to address a particular Control within entities that can contain multiple Controls. If the entity only contains a single Control, there is no need to specify a Control Selector and the wValue field can be used to pass additional parameters.
The wIndex field specifies the interface or endpoint to be addressed in the low byte, and the entity ID or zero in the high byte. In case an interface is addressed, the virtual entity "interface" can be addressed by specifying zero in the high byte. The values in wIndex must be appropriate to the recipient. Only existing entities in the video function can be addressed, and only appropriate interface or endpoint numbers may be used. If the request specifies an unknown or non-entity ID, or an unknown interface or endpoint number, the control pipe must indicate a stall.
Generally the values depends on the usb device. Every device is different and follows it's own code.