gccDppConsole Test C++ SDK  20170920
DPP C++ Console Demonstration
Classes | Defines
DeviceIO/DppLibUsb.h File Reference
#include <libusb.h>
#include <stdio.h>
#include <sys/types.h>
#include <string.h>
Include dependency graph for DppLibUsb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CDppLibUsb

Defines

#define AMPTEK_DP5_VENDOR_ID   0x10C4
#define AMPTEK_DP5_PRODUCT_ID   0x842A
#define INTERFACE_NUMBER   0
#define TIMEOUT_MS   5000
#define BULK_IN_ENDPOINT   0x81
#define BULK_OUT_ENDPOINT   0x02
#define MAX_BULK_IN_TRANSFER_SIZE   32768
#define MAX_BULK_OUT_TRANSFER_SIZE   520
#define STATUS_PACKET_SIZE   64
#define DP5_USB_TIMEOUT   500
#define DP5_DIAGDATA_TIMEOUT   2500
#define PID1_REQ_SCOPE_MISC_TO   0x03
#define PID2_SEND_DIAGNOSTIC_DATA_TO   0x05

Define Documentation

#define AMPTEK_DP5_PRODUCT_ID   0x842A

Definition at line 21 of file DppLibUsb.h.

#define AMPTEK_DP5_VENDOR_ID   0x10C4

Definition at line 20 of file DppLibUsb.h.

#define BULK_IN_ENDPOINT   0x81

Definition at line 25 of file DppLibUsb.h.

#define BULK_OUT_ENDPOINT   0x02

Definition at line 26 of file DppLibUsb.h.

#define DP5_DIAGDATA_TIMEOUT   2500

Definition at line 31 of file DppLibUsb.h.

#define DP5_USB_TIMEOUT   500

Definition at line 30 of file DppLibUsb.h.

#define INTERFACE_NUMBER   0

Definition at line 23 of file DppLibUsb.h.

#define MAX_BULK_IN_TRANSFER_SIZE   32768

Definition at line 27 of file DppLibUsb.h.

#define MAX_BULK_OUT_TRANSFER_SIZE   520

Definition at line 28 of file DppLibUsb.h.

#define PID1_REQ_SCOPE_MISC_TO   0x03

Definition at line 32 of file DppLibUsb.h.

#define PID2_SEND_DIAGNOSTIC_DATA_TO   0x05

Definition at line 33 of file DppLibUsb.h.

#define STATUS_PACKET_SIZE   64

Definition at line 29 of file DppLibUsb.h.

#define TIMEOUT_MS   5000

Definition at line 24 of file DppLibUsb.h.