Defines | Typedefs | Functions
hiddata.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define USBOPEN_ERR_ACCESS   1 /* not enough permissions to open device */
#define USBOPEN_ERR_IO   2 /* I/O error */
#define USBOPEN_ERR_NOTFOUND   3 /* device not found */
#define USBOPEN_SUCCESS   0 /* no error */

Typedefs

typedef struct usbDevice usbDevice_t

Functions

void usbhidCloseDevice (usbDevice_t *device)
int usbhidGetReport (usbDevice_t *device, int reportID, char *buffer, int *len)
int usbhidOpenDevice (usbDevice_t **device, int vendorID, char *vendorName, int productID, char *productName, int usesReportIDs)
int usbhidSetReport (usbDevice_t *device, char *buffer, int len)

Define Documentation

#define USBOPEN_ERR_ACCESS   1 /* not enough permissions to open device */

Definition at line 24 of file hiddata.h.

#define USBOPEN_ERR_IO   2 /* I/O error */

Definition at line 25 of file hiddata.h.

#define USBOPEN_ERR_NOTFOUND   3 /* device not found */

Definition at line 26 of file hiddata.h.

#define USBOPEN_SUCCESS   0 /* no error */

Definition at line 23 of file hiddata.h.


Typedef Documentation

typedef struct usbDevice usbDevice_t

Definition at line 30 of file hiddata.h.


Function Documentation

void usbhidCloseDevice ( usbDevice_t device)

Definition at line 291 of file hiddata.cpp.

int usbhidGetReport ( usbDevice_t device,
int  reportID,
char *  buffer,
int *  len 
)

Definition at line 341 of file hiddata.cpp.

int usbhidOpenDevice ( usbDevice_t **  device,
int  vendorID,
char *  vendorName,
int  productID,
char *  productName,
int  usesReportIDs 
)

Definition at line 207 of file hiddata.cpp.

int usbhidSetReport ( usbDevice_t device,
char *  buffer,
int  len 
)

Definition at line 299 of file hiddata.cpp.



blink1
Author(s): Guilherme Pereira (The AIR lab, Carnegie Mellon University)
autogenerated on Sat Jun 8 2019 20:13:43