class

USB::DeviceHandle

Inherits Reference / Object

Constructors

new(unwrap : LibUSB::DeviceHandleRef, device : Device)
Source

Instance methods

attach_kernel_driver(interface_number : UInt8)
Source
bulk_transfer(endpoint_address : UInt8, slice : Bytes, timeout : UInt32)
Source
claim_interface(interface_number : UInt8)
Source
close
Source
closed?
Source
control_transfer(request_type : UInt8, request : UInt8, value : UInt16, index : UInt16, slice : Bytes, timeout : UInt32)
Source
detach_kernel_driver(interface_number : UInt8)
Source
device
Source
finalize
Source
interrupt_transfer(endpoint_address : UInt8, slice : Bytes, timeout : UInt32)
Source
kernel_driver_active?(interface_number : UInt8)
Source
release_interface(interface_number : UInt8)
Source
set_configuration(configuration_value : UInt8)
Source
set_interface_alternate_setting(interface_number : UInt8, alternate_setting : UInt8)
Source
to_unsafe
Source