Am Dienstag, 15. Juli 2014 21:01:19 UTC+2 schrieb somb...@gmail.com: > I think an important statement for the spec to make is why it needs to > exist at all? Specifically, it seems like both the WebUSB > https://bugzil.la/674718 and WebBluetooth https://bugzil.la/674737 specs > should both be equally capable of producing the standard stream > abstractions supported by the protocols.
There are several ways to expose a serial port in addition to USB and BT. The WebSerial API shouldn't care about the transport layer. Neither does the OS, it just exposes the serial port which may or may not go through USB, BT, "native interface", or whatever. It's similar to a WebIPP API: You don't want to know whether the printer is connected through USB, Parallel, cabled or wireless network, you just want the OS to take the route it was configured with and expose a common interface for all routes. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform