| libusb Developers Guide | ||
|---|---|---|
| <<< Previous | Next >>> | |
int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout);
usb_control_msg performs a control request to the default control pipe on a device. The parameters mirror the types of the same name in the USB specification. Returns number of bytes written/read or < 0 on error.
| <<< Previous | Home | Next >>> |
| Control Transfers | Up | usb_get_string |