thegecko / webusb

Node.js implementation of the WebUSB Specification
https://thegecko.github.io/webusb/
MIT License
183 stars 27 forks source link

data should be optional on device.controlTransferOut() #15

Closed monteslu closed 6 years ago

monteslu commented 6 years ago

for example: https://github.com/webusb/arduino/blob/gh-pages/demos/serial.js#L48-L53

thegecko commented 6 years ago

Thanks for finding this, must have been an oversight.

PR #16 should resolve the issue, but I'd be grateful if you could check it as I have no way of testing it on actual hardware.

monteslu commented 6 years ago

able to get a little further, so I think this is ok.