Skip to content

Feature request: communicate via serial port using WebUSB API #47

Open
@askvictor

Description

@askvictor

It would be super useful to have the same place to access the device via a WebREPL if that has been set up, or directly via a serial port if it hasn't. The WebUSB API (https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web) can be used for this; albeit it only has the single data channel unlike websockets where multiple data channels are possible.

Going even further, it would be nice to be able to flash the Micropython firmware onto a device directly from such a website.

One potential problem is that WebUSB requires an HTTPS connection, while the current WebREPL cannot have one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions