webusb / arduino

WebUSB demos running on Arduino (and compatible) hardware.
576 stars 152 forks source link

Why USB 2.1? #6

Closed beaufortfrancois closed 7 years ago

beaufortfrancois commented 8 years ago

Just a quick question there: why do we require USB 2.1? Is this a real thing? If so, is that even considerable to ask arduino folks to update their file? https://github.com/arduino/Arduino/blob/06e9981e6b8f302552280e55ce3adc81b0bcc2ee/hardware/arduino/avr/cores/arduino/USBCore.h#L263

reillyeon commented 8 years ago

USB 2.1 is required so that the host knows that the device exposes a Binary Object Store descriptor, which is where the WebUSB descriptor (and Microsoft OS Descriptor 2.0) reading sequence starts.

beaufortfrancois commented 8 years ago

Thank you @reillyeon. I've sent a PR at https://github.com/arduino/Arduino/pull/4627

Let's cross our fingers ;)

beaufortfrancois commented 8 years ago

Just got an answer from Arduino folks who told me the patch will be merged in the next core release. Francois happy!

reillyeon commented 7 years ago

Cleaning up old issues.