v138 · device
Web serial over Bluetooth on Android
This feature allows web pages and web apps to connect to serial ports over Bluetooth on Android devices.
concepts
-
Web Serial over BT
Web Serial picks up Bluetooth RFCOMM transports on Android. Wireless serial peripherals (microcontrollers, instruments) become first-class web targets.
-
Wireless Arduino REPL
A field workflow: tablet talking to an Arduino over an HC-05 BT module from the browser. Send
ANALOG_READ, get a value back. Same code shape as USB. -
Connection Diagnostics
Explore all
SerialPort.open()options: baud rate, data bits, parity, stop bits, flow control. Live throughput and latency metrics for each baud rate, plus a walkthrough of the connection lifecycle events. -
Protocol explorer
An interactive terminal for building and sending binary serial frames. Configure port parameters, construct a custom frame byte-by-byte (header/data/checksum), see the hex visualization, and inspect
SerialPort.getInfo()from a real selected port.
why it shipped
This feature provides web developers with capabilities of connecting to serial ports over Bluetooth RFCOMM on Android devices, which has been supported by Android for a long time.