public final class EndpointDescriptor extends Object
Modifier and Type | Method and Description |
---|---|
byte |
bDescriptorType()
Returns the descriptor type.
|
byte |
bEndpointAddress()
The address of the endpoint described by this descriptor.
|
byte |
bInterval()
Returns the interval for polling endpoint for data transfers.
|
byte |
bLength()
Returns the size of this descriptor (in bytes).
|
byte |
bmAttributes()
Attributes which apply to the endpoint when it is configured using the
bConfigurationValue.
|
byte |
bRefresh()
For audio devices only: the rate at which synchronization feedback is
provided.
|
byte |
bSynchAddress()
For audio devices only: the address of the synch endpoint.
|
String |
dump()
Returns a dump of this descriptor.
|
boolean |
equals(Object obj) |
ByteBuffer |
extra()
Extra descriptors.
|
int |
extraLength()
Length of the extra descriptors, in bytes.
|
long |
getPointer()
Returns the native pointer.
|
int |
hashCode() |
String |
toString() |
short |
wMaxPacketSize()
Returns the maximum packet size this endpoint is capable of
sending/receiving.
|
public long getPointer()
public byte bLength()
public byte bDescriptorType()
LibUsb.DT_ENDPOINT
in this context.public byte bEndpointAddress()
LibUsb.ENDPOINT_IN
or LibUsb.ENDPOINT_OUT
).public byte bmAttributes()
public short wMaxPacketSize()
public byte bInterval()
public byte bRefresh()
public byte bSynchAddress()
public ByteBuffer extra()
public int extraLength()
public String dump()
Copyright © 2011–2018 usb4java Team. All rights reserved.