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