Open hashemisa opened 3 years ago
Web Serial API
The Web Serial API allows web browsers to communicate with serial devices! You can chat with Arduinos, Raspberry Pis and most any device that speaks serial – straight from your website and no drivers needed.
Chrome 89 stable:
const port = await navigator.serial.requestPort()
const ports = await navigator.serial.getPorts()
https://web.dev/serial
https://www.chromestatus.com/features#milestone%3D89
Web USB API
Chrome 61 stable:
const usb = await navigator.usb.requestDevice()
const usbs = await navigator.usb.getDevices()
https://web.dev/usb
WebUSB is tracked in #9523, it should be excluded from this issue.
Ref https://github.com/denoland/deno/issues/6210
Web Serial API
The Web Serial API allows web browsers to communicate with serial devices! You can chat with Arduinos, Raspberry Pis and most any device that speaks serial – straight from your website and no drivers needed.
Chrome 89 stable:
const port = await navigator.serial.requestPort()
const ports = await navigator.serial.getPorts()
https://web.dev/serial
https://www.chromestatus.com/features#milestone%3D89
Web USB API
Chrome 61 stable:
const usb = await navigator.usb.requestDevice()
const usbs = await navigator.usb.getDevices()
https://web.dev/usb