-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: Expose connection state for Bluetooth serial ports
Relevant spec change: WICG/serial#197 This CL adds a connected attribute to the SerialPort interface that exposes the logical connection state of the serial port. The behavior for Bluetooth serial ports is changed so that the connect and disconnect events are dispatched when the connection state of the Bluetooth device changes. The behavior is unchanged for wired serial ports. Intent to Prototype: TODO Bug: 1488031 Change-Id: I34b88246e62202c24eee08ad4a997aff7eadeebb
- Loading branch information
1 parent
67141e8
commit 85c0464
Showing
3 changed files
with
75 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters