public final class ControlSetup extends Object
Modifier and Type | Method and Description |
---|---|
byte |
bmRequestType()
Returns the request type.
|
byte |
bRequest()
Returns the request.
|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
setBmRequestType(byte bmRequestType)
Sets the request type.
|
void |
setBRequest(byte bRequest)
Sets the request.
|
void |
setWIndex(short wIndex)
Sets the index.
|
void |
setWLength(short wLength)
Sets the number of bytes to transfer.
|
void |
setWValue(short wValue)
Sets the value.
|
String |
toString() |
short |
wIndex()
Returns the index.
|
short |
wLength()
Returns the number of bytes to transfer.
|
short |
wValue()
Returns the value.
|
public byte bmRequestType()
public void setBmRequestType(byte bmRequestType)
bmRequestType
- The request type to set.public byte bRequest()
bmRequestType()
are equal to
LibUsb.REQUEST_TYPE_STANDARD
then this field refers to
one of the REQUEST_* constants or LibUsb.SET_ISOCH_DELAY
. For
other cases, use of this field is application-specific.public void setBRequest(byte bRequest)
bRequest
- The request to set.public short wValue()
public void setWValue(short wValue)
wValue
- The value to set.public short wIndex()
public void setWIndex(short wIndex)
wIndex
- The index to set.public short wLength()
public void setWLength(short wLength)
wLength
- The number of bytes to transfer.Copyright © 2011–2018 usb4java Team. All rights reserved.