libusb Developers Guide
Prev |  | Next

# usb_control_msg

## Name

usb_control_msg -- Send a control message to a device

## Description

``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.

Prev | Home | Next
Control Transfers | Up | usb_get_string