API reference · Browser and Node
@toip-tools/mesh-transport/serial
3 public exports.
import { type SerialPortLike, webSerialPort, type WebSerialPortLike } from "@toip-tools/mesh-transport/serial";
Functions
-
webSerialPortA Web Serial port (Chrome and Edge, after a user gesture) as a SerialPortLike.
Interfaces
-
SerialPortLikeThe serial port every serial radio adapter uses (design §14.6, §19.1).
-
WebSerialPortLikeThe parts of a Web Serial `SerialPort` we use.
Signatures and source documentation are generated from packages/mesh-transport/src/serial.ts.