Package javax.usb

Examples of javax.usb.UsbControlIrp

  // #Utility functions

  private int sendControlTransfer(byte requestType, byte request,
      short value, short index, byte[] data) {
    UsbControlIrp irp = mUsbDevice.createUsbControlIrp(requestType,
        request, value, index);
    if (data != null)
    try {
    } catch (Exception e) {
      log.error("Failed to send Usb Control", e);
      return -1;
    return irp.getActualLength();
View Full Code Here


Related Classes of javax.usb.UsbControlIrp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact