I propose adding a webserial:// transport via Pyodide. We already have a mostly-API-compatible WebSerial transport in use within sl-web-tools that I've played around with adapting.
Questions:
- CI: it would be interesting to see if we can run pytest via Pyodide. The Python-JS APIs are very tricky to get right and have lifetime bugs.
- WebSerial, unlike other transports, requires user interaction to select the serial port. There is no way to select a serial port by name, list ports, or connect to a port outside of user interaction. I think we can work around this by having connections go via
webserial://serial as the global port, which needs to be set out-of-band with a helper.
I propose adding a
webserial://transport via Pyodide. We already have a mostly-API-compatible WebSerial transport in use within sl-web-tools that I've played around with adapting.Questions:
webserial://serialas the global port, which needs to be set out-of-band with a helper.