libusb_control_setup class

\ingroup libusb_asyncio Setup packet for control transfers.

Inheritance
Implemented types
Available extensions

Constructors

libusb_control_setup()

Properties

bmRequestType int
Request type. Bits 0:4 determine recipient, see \ref libusb_request_recipient. Bits 5:6 determine type, see \ref libusb_request_type. Bit 7 determines data transfer direction, see \ref libusb_endpoint_direction.
getter/setter pair
bRequest int
Request. If the type bits of bmRequestType are equal to \ref libusb_request_type::LIBUSB_REQUEST_TYPE_STANDARD "LIBUSB_REQUEST_TYPE_STANDARD" then this field refers to \ref libusb_standard_request. For other cases, use of this field is application-specific.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wIndex int
Index. Varies according to request, typically used to pass an index or offset
getter/setter pair
wLength int
Number of bytes to transfer
getter/setter pair
wValue int
Value. Varies according to request
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited