#include <usb_libusb_device.h>
◆ LibUsbDevice()
| LibUsbDevice::LibUsbDevice |
( |
libusb_device * |
device | ) |
|
|
explicit |
◆ ~LibUsbDevice()
| LibUsbDevice::~LibUsbDevice |
( |
| ) |
|
◆ ClaimInterface()
| bool LibUsbDevice::ClaimInterface |
( |
| ) |
|
|
private |
◆ ClearEndpoints()
| void LibUsbDevice::ClearEndpoints |
( |
| ) |
|
◆ Close()
| bool LibUsbDevice::Close |
( |
| ) |
|
◆ CloseDevice()
| void LibUsbDevice::CloseDevice |
( |
| ) |
|
|
private |
◆ CloseDeviceHandle()
| void LibUsbDevice::CloseDeviceHandle |
( |
| ) |
|
|
private |
◆ FindAdbInterface()
| bool LibUsbDevice::FindAdbInterface |
( |
| ) |
|
|
private |
◆ GenerateSessionId()
| USBSessionID LibUsbDevice::GenerateSessionId |
( |
libusb_device * |
device | ) |
|
|
static |
◆ GetAddress()
| std::string LibUsbDevice::GetAddress |
( |
| ) |
const |
◆ GetDeviceAddress()
| std::string LibUsbDevice::GetDeviceAddress |
( |
| ) |
|
|
private |
◆ GetDeviceDescriptor()
| std::optional< libusb_device_descriptor > LibUsbDevice::GetDeviceDescriptor |
( |
| ) |
|
|
private |
◆ GetSerial()
| std::string LibUsbDevice::GetSerial |
( |
| ) |
|
◆ GetSessionId()
◆ Init()
| void LibUsbDevice::Init |
( |
| ) |
|
|
private |
◆ IsInitialized()
| bool LibUsbDevice::IsInitialized |
( |
| ) |
const |
◆ MaxSpeedMbps()
| uint64_t LibUsbDevice::MaxSpeedMbps |
( |
| ) |
|
◆ NegotiatedSpeedMbps()
| uint64_t LibUsbDevice::NegotiatedSpeedMbps |
( |
| ) |
|
◆ Open()
| bool LibUsbDevice::Open |
( |
| ) |
|
◆ OpenDeviceHandle()
| bool LibUsbDevice::OpenDeviceHandle |
( |
| ) |
|
|
private |
◆ Read()
| bool LibUsbDevice::Read |
( |
apacket * |
packet | ) |
|
◆ ReleaseInterface()
| void LibUsbDevice::ReleaseInterface |
( |
| ) |
|
|
private |
◆ Reset()
| void LibUsbDevice::Reset |
( |
| ) |
|
◆ RetrieveSerial()
| bool LibUsbDevice::RetrieveSerial |
( |
| ) |
|
|
private |
◆ RetrieveSpeeds()
| void LibUsbDevice::RetrieveSpeeds |
( |
| ) |
|
|
private |
◆ Write()
| bool LibUsbDevice::Write |
( |
apacket * |
packet | ) |
|
◆ device_
| libusb_device* LibUsbDevice::device_ = nullptr |
|
private |
◆ device_address_
| std::string LibUsbDevice::device_address_ {} |
|
private |
◆ device_handle_
| libusb_device_handle* LibUsbDevice::device_handle_ = nullptr |
|
private |
◆ initialized_
| bool LibUsbDevice::initialized_ = false |
|
private |
◆ interface_claimed_
| std::atomic<bool> LibUsbDevice::interface_claimed_ = false |
|
private |
◆ interface_num_
| int LibUsbDevice::interface_num_ = 0 |
|
private |
◆ max_speed_
| uint64_t LibUsbDevice::max_speed_ {} |
|
private |
◆ negotiated_speed_
| uint64_t LibUsbDevice::negotiated_speed_ {} |
|
private |
◆ out_endpoint_size_
| int LibUsbDevice::out_endpoint_size_ {} |
|
private |
◆ read_endpoint_
| unsigned char LibUsbDevice::read_endpoint_ {} |
|
private |
◆ serial_
| std::string LibUsbDevice::serial_ {} |
|
private |
◆ session_
◆ write_endpoint_
| unsigned char LibUsbDevice::write_endpoint_ {} |
|
private |
◆ zlp_mask_
| int LibUsbDevice::zlp_mask_ {} |
|
private |
The documentation for this struct was generated from the following files: