Skip to content

Create a WebUSB subsys driver #12527

@larsgk

Description

@larsgk

WebUSB enabled devices are able to communicate directly with web applications with browsers implementing the spec. Currently, there is a sample app (slightly outdated and static features) under /samples/subsys/usb/webusb

It would make sense to create a real subsys WebUSB 'driver' that can easily be included in projects that need WebUSB support. Often these will also have the need for other classes in parallel (resulting in a composite USB device description).

As a starting point, we can use the sample mentioned above with the following changes:

  • Functionality to change manufacturer and product string
  • Functionality to change serial runtime, e.g. to assign unique IDs from hardware
  • The possibility to merge with other interfaces (e.g. CDC & WebUSB)
  • License fix -> Apache2 (check with Intel?)

Also, it would be a good idea to involve Reilly Grant ( @reillyeon ) and Kenneth Christiansen ( @kenchris ) in the process.

Metadata

Metadata

Assignees

Labels

EnhancementChanges/Updates/Additions to existing featuresarea: USBUniversal Serial Buspriority: lowLow impact/importance bug

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions