OpenHantek
usbdevice.h File Reference
#include <QObject>
#include <QStringList>
#include <libusb-1.0/libusb.h>
#include <memory>
#include "usbdevicedefinitions.h"

Go to the source code of this file.

Data Structures

class  USBDevice
 This class handles the USB communication with an usb device that has one in and one out endpoint. More...
 

Typedefs

typedef uint64_t UniqueUSBid
 

Functions

QString libUsbErrorString (int error)
 Returns string representation for libusb errors. More...
 

Typedef Documentation

◆ UniqueUSBid

typedef uint64_t UniqueUSBid

Function Documentation

◆ libUsbErrorString()

QString libUsbErrorString ( int  error)

Returns string representation for libusb errors.

Parameters
errorThe error code.
Returns
String explaining the error.