void DfuOut(DfuRequest req, UInt16 value, byte[] data) { BaseDevice.ControlTransferOut(WinUSBDevice.ControlTypeClass | WinUSBDevice.ControlRecipientInterface, (byte)req, value, DfuInterface, data); }
byte[] DfuIn(DfuRequest req, UInt16 value, UInt16 length) { return(BaseDevice.ControlTransferIn(WinUSBDevice.ControlTypeClass | WinUSBDevice.ControlRecipientInterface, (byte)req, value, DfuInterface, length)); }