Re: Shell over WebUSB


Hi Markus,

On Thu, Nov 07, 2019 at 07:59:02AM +0000, Becker Markus wrote:

I have enjoyed the WebUSB sample application and it works nicely as

Is there a possibility to bind the Zephyr Shell to WebUSB?
Yes, I had some dirty hacks working, never went upstream, the JS part is
still here:

I saw that the webusb.c/.h files are in the samples directory. Is it
planned that they live in subsys/usb/class/ and can enabled in parallel to
e.g. CDC-ACM?
webusb defines interface with 2 endpoints just for tests, to put it to
class we need some Spec.

Probably for the shell you could implement subsys/shell/shell_webusb.c
similar to shell_telnet.c or shell_uart.c.

We can probably create also third endpoint for logs and have special log

I have created issue for that:

Best regards
Andrei Emeltchenko

Join to automatically receive all group messages.