LibUSB.Device – libusb-1.0 Reference Manual
Device
Object Hierarchy:
LibUSB.Device
LibUSB.Device
LibUSB.Device
Description:
[
CCode
( cname =
"libusb_device"
, cprefix =
"libusb_"
, ref_function =
"libusb_ref_device"
, unref_function =
"libusb_unref_device"
) ]
[
Compact
]
public
class
Device
Namespace:
LibUSB
Package:
libusb-1.0
Content:
Methods:
public
Error
get_active_config_descriptor
(
out
ConfigDescriptor
config)
public
uint8
get_bus_number
()
public
Error
get_config_descriptor
(
uint8
config_index,
out
ConfigDescriptor
config)
public
Error
get_config_descriptor_by_value
(
uint8
ConfigurationValue,
out
ConfigDescriptor
config)
public
uint8
get_device_address
()
public
Error
get_device_descriptor
(
out
DeviceDescriptor
desc)
public
Speed
get_device_speed
()
public
int
get_max_iso_packet_size
(
uint8
endpoint)
public
int
get_max_packet_size
(
uint8
endpoint)
public
unowned
Device
get_parent
()
public
uint8
get_port_number
()
public
int
get_port_numbers
(
uint8
[] port_numbers)
public
Error
open
(
out
DeviceHandle
handle)
2022 vala-language.org