Conversation
This is a Workstream Proposal following https://whatwg.org/workstream-policy#workstream-proposals for a new Workstream for standards for Peripheral APIs.
reillyeon
left a comment
There was a problem hiding this comment.
Thanks for putting this together. Just a few nitpicks on naming and scope to make this clearer.
| ], | ||
| "standards": [ | ||
| { | ||
| "name": "WebBluetooth", |
There was a problem hiding this comment.
This has been referred to as "Web Bluetooth" (with a space) so far.
There was a problem hiding this comment.
Figuring better for web-searchability/discovery as a singleword term and this is a good opportunity to tweak that, especially in alignment with others like WebNN, WebMCP. No strong feeling about this.
There was a problem hiding this comment.
Acknowledged. I don't have a strong opinion one way or another. I'm happy to use the migration to WHATWG to choose a consistent naming convention.
| "twitter": "" | ||
| }, | ||
| { | ||
| "name": "WebNFC", |
There was a problem hiding this comment.
Same here, the existing "Web NFC" draft uses a space.
There was a problem hiding this comment.
Same, figuring better for web-searchability/discovery as a singleword term and this is a good opportunity to tweak that, especially in alignment with others like WebNN, WebMCP. No strong feeling about this.
| "twitter": "" | ||
| }, | ||
| { | ||
| "name": "WebSerial", |
There was a problem hiding this comment.
Same as others, figuring better for web-searchability/discovery as a singleword term and this is a good opportunity to tweak that, especially in alignment with others like WebNN, WebMCP. No strong feeling about this.
| { | ||
| "name": "WebSerial", | ||
| "href": "https://serial.spec.whatwg.org/", | ||
| "description": "The WebSerial Standard defines an API for web applications to provide user access to peripherals via the serial port standard.", |
There was a problem hiding this comment.
There isn't quite a unified "serial port standard" but you could say, "RS-232, RS-485, Bluetooth RFCOMM and related standard interfaces."
There was a problem hiding this comment.
Ok with "RS-232, RS-485, and related standard interfaces". Can you write an edit accordingly?
Would prefer scoping "Bluetooth RFCOMM" with WebBluetooth if that makes sense.
There was a problem hiding this comment.
RFCOMM is out-of-scope for WebBluetooth because that specification is focused on the modern Bluetooth Generic Attribute Profile provided by Bluetooth Low Energy, while RFCOMM is part of the older Bluetooth Classic protocol and was specifically designed for emulating RS-232 connections over an radio interface.
Standard protocols for emulating serial over more modern transports like Bluetooth RFCOMM and USB CDC-ACM should be included in WebSerial rather than WebBluetooth or WebUSB.
What do you think of, "[...]access to peripherals via standard serial interconnects such as RS-232 or RS-422 or emulations there of over transports such as USB or Bluetooth."
There was a problem hiding this comment.
access to peripherals via standard serial interconnects such as RS-232 or RS-422 or emulations there of over transports such as USB or Bluetooth
LGTM except s/there of/thereof/ :)
Can you make a suggested edit and I'll merge into the PR?
Co-authored-by: Reilly Grant <reillyeon@users.noreply.github.com>
Reilly and Matt will share the editor role and split authorship of the standards.
* Update WebSerial description in db.json Expanded the description of the WebSerial Standard to include details about standard serial interconnects and transport methods. * there of -> thereof Co-authored-by: Jeffrey Yasskin <jyasskin@gmail.com> --------- Co-authored-by: Jeffrey Yasskin <jyasskin@gmail.com>
|
This proposal looks good to me however I don't have the necessary repo permissions to approve it formally through the GitHub UI. |
This is a Workstream Proposal following https://whatwg.org/workstream-policy#workstream-proposals for a new Workstream for standards for Peripheral APIs.
Answers to Workstream Proposal numbered points in workstream-policy: