Contact emails

mattreyno...@chromium.org, melhui...@chromium.org


Explainer

https://github.com/WICG/serial/blob/main/EXPLAINER_BLUETOOTH.md

Specification

https://github.com/WICG/serial/pull/189

Summary

Support Bluetooth RFCOMM services in the Web Serial API. The Bluetooth
RFCOMM (Radio frequency communication) protocol provides emulated RS-232
serial ports. This feature enables applications to make connections to
RFCOMM services on paired Bluetooth Classic devices using the Web Serial
API.

Blink component

Blink>Serial
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ESerial>

TAG review

https://github.com/w3ctag/design-reviews/issues/854

TAG review status

Pending

Risks

Interoperability and Compatibility

Web Serial API is only implemented in Chromium. Other browser vendors have
expressed negative views regarding the API and are unlikely to implement it.

This feature will not affect compatibility in existing apps. The feature
only adds support for connecting to new types of devices. There are no
changes for currently-supported devices.

Gecko: Negative (https://github.com/mozilla/standards-positions/issues/687)
Previous thread: https://github.com/mozilla/standards-positions/issues/336

WebKit: Negative (https://github.com/WebKit/standards-positions/issues/199)
See also: https://webkit.org/tracking-prevention/

Web developers: Positive (
https://bugs.chromium.org/p/chromium/issues/detail?id=1043300) Other Web
developers have asked for this feature privately.

Other signals:


Activation

Developers can take advantage of this feature immediately. A polyfill is
not possible because Bluetooth Classic devices cannot be accessed through
any other web platform API.

Security

See
https://github.com/WICG/serial/blob/main/security-privacy-questionnaire-bluetooth-rfcomm.md
and Security Considerations in
https://github.com/WICG/serial/blob/main/EXPLAINER_BLUETOOTH.md

WebView application risks

N/A


Debuggability

Debuggability is identical to wired serial ports.

Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux, Chrome OS, Android, and Android WebView)?

No, this feature will be supported on desktop platforms only to begin with,
matching the existing state of support for the Web Serial API. Support for
Android could be added in the future since unlike USB serial devices,
Android provides an API for Bluetooth RFCOMM.

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?

No, the majority of this extension to the API is implemented in the browser
process (connecting to Bluetooth devices through the native platform APIs)
and so isn’t testable with WPT.

Flag name

chrome://flags#enable-bluetooth-spp-in-serial-api

Requires code in //chrome?

Yes

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1043300

Launch bug

https://launch.corp.google.com/launch/4232649

Estimated milestones

117

Anticipated spec changes

None

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5686596809523200

Links to previous Intent discussions

Intent to prototype:
https://groups.google.com/a/chromium.org/g/blink-dev/c/kOOZ3RIh0Ik

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHB%2BDAhrundkCzfzCCBxqCEGZ09b5GdAT0zRa3SP7Pt2_UHtHA%40mail.gmail.com.

Reply via email to