function · Node only
nodeSerialPort
A USB serial port through the "serialport" package. 115200 baud for RUI3 and RNode.
@toip-tools/mesh-transport/nodeView sourceimport { nodeSerialPort } from "@toip-tools/mesh-transport/node";
Declaration
nodeSerialPort(path: string, baud?: number): SerialPortLike;
Parameters
pathrequiredstringbaudoptionalnumberDefault:
115200