#include <indiusbdevice.h>
|
| int | WriteInterrupt (unsigned char *, int, int) |
| |
| int | ReadInterrupt (unsigned char *, int, int) |
| |
| int | WriteBulk (unsigned char *buf, int nbytes, int timeout) |
| |
| int | ReadBulk (unsigned char *buf, int nbytes, int timeout) |
| |
| int | ControlMessage (unsigned char request_type, unsigned char request, unsigned int value, unsigned int index, unsigned char *data, unsigned char len) |
| |
| int | FindEndpoints () |
| |
| int | Open () |
| |
| void | Close () |
| |
| | USBDevice () |
| |
| | USBDevice (libusb_device *dev) |
| |
| virtual | ~USBDevice () |
| |
Definition at line 37 of file indiusbdevice.h.
◆ USBDevice() [1/2]
◆ USBDevice() [2/2]
| INDI::USBDevice::USBDevice |
( |
libusb_device * |
dev | ) |
|
◆ ~USBDevice()
| USBDevice::~USBDevice |
( |
| ) |
|
|
virtual |
◆ Close()
| void USBDevice::Close |
( |
| ) |
|
◆ ControlMessage()
| int USBDevice::ControlMessage |
( |
unsigned char |
request_type, |
|
|
unsigned char |
request, |
|
|
unsigned int |
value, |
|
|
unsigned int |
index, |
|
|
unsigned char * |
data, |
|
|
unsigned char |
len |
|
) |
| |
◆ FindDevice()
| libusb_device * USBDevice::FindDevice |
( |
int |
vendor, |
|
|
int |
product, |
|
|
int |
searchindex |
|
) |
| |
|
protected |
◆ FindEndpoints()
| int USBDevice::FindEndpoints |
( |
| ) |
|
◆ Open()
◆ ReadBulk()
| int USBDevice::ReadBulk |
( |
unsigned char * |
buf, |
|
|
int |
nbytes, |
|
|
int |
timeout |
|
) |
| |
◆ ReadInterrupt()
| int USBDevice::ReadInterrupt |
( |
unsigned char * |
buf, |
|
|
int |
count, |
|
|
int |
timeout |
|
) |
| |
◆ WriteBulk()
| int USBDevice::WriteBulk |
( |
unsigned char * |
buf, |
|
|
int |
nbytes, |
|
|
int |
timeout |
|
) |
| |
◆ WriteInterrupt()
| int USBDevice::WriteInterrupt |
( |
unsigned char * |
buf, |
|
|
int |
count, |
|
|
int |
timeout |
|
) |
| |
◆ dev
| libusb_device* INDI::USBDevice::dev |
|
protected |
◆ InputEndpoint
| int INDI::USBDevice::InputEndpoint |
|
protected |
◆ InputType
| int INDI::USBDevice::InputType |
|
protected |
◆ OutputEndpoint
| int INDI::USBDevice::OutputEndpoint |
|
protected |
◆ OutputType
| int INDI::USBDevice::OutputType |
|
protected |
◆ ProductId
| int INDI::USBDevice::ProductId |
|
protected |
◆ usb_handle
| libusb_device_handle* INDI::USBDevice::usb_handle |
|
protected |
◆ VendorId
| int INDI::USBDevice::VendorId |
|
protected |
The documentation for this class was generated from the following files: