USB::DeviceHandle
Inherits Reference / Object
Constructors
new(unwrap : LibUSB::DeviceHandleRef, device : Device)
SourceInstance methods
attach_kernel_driver(interface_number : UInt8)
Sourcebulk_transfer(endpoint_address : UInt8, slice : Bytes, timeout : UInt32)
Sourceclaim_interface(interface_number : UInt8)
Sourceclose
Sourceclosed?
Sourcecontrol_transfer(request_type : UInt8, request : UInt8, value : UInt16, index : UInt16, slice : Bytes, timeout : UInt32)
Sourcedetach_kernel_driver(interface_number : UInt8)
Sourcedevice
Sourcefinalize
Sourceinterrupt_transfer(endpoint_address : UInt8, slice : Bytes, timeout : UInt32)
Sourcekernel_driver_active?(interface_number : UInt8)
Sourcerelease_interface(interface_number : UInt8)
Sourceset_configuration(configuration_value : UInt8)
Sourceset_interface_alternate_setting(interface_number : UInt8, alternate_setting : UInt8)
Sourceto_unsafe
Source