Web serial
The navigator.serial
API communicates with devices over serial ports, such as microcontrollers.
To learn more, see
Navigator: serial property,
Serial,
Serial: getPorts() method,
Serial: requestPort() method,
SerialPort,
SerialPort: close() method,
SerialPort: connect event,
SerialPort: disconnect event,
SerialPort: forget() method,
SerialPort: getInfo() method,
SerialPort: getSignals() method,
SerialPort: open() method,
SerialPort: readable property,
SerialPort: setSignals() method,
SerialPort: writable property,
WorkerNavigator: serial property,
Permissions-Policy: serial at MDN.
Compatibility
- Chrome 89 Released on 2021-03-02
- Chrome Android ❌ Search for bugs Search for Chromestatus entry
- Edge 89 Released on 2021-03-04
- Firefox ❌ Search for bugs Search for standards position
- Firefox for Android ❌ Search for bugs Search for standards position
- Safari ❌ Search for bugs Search for standards position
- Safari on iOS ❌ Search for bugs Search for standards position
Specifications
- Web Serial API, from Web Platform Incubator Community Group (W3C).