* Initial Node.js serial transport * Minor doc fixes * Add serialport to lockfile * Typo fix * Fix link:
1.5 KiB
1.5 KiB
@meshtastic/transport-node-serial
Overview
@meshtastic/transport-noden-node Provides Serial transport (Node) for Meshtastic
devices. Installation instructions are available at
JSR
NPM
Usage
import { MeshDevice } from "@meshtastic/core";
import { TransportNodeSerial } from "@meshtastic/transport-node-serial";
const transport = await TransportNodeSerial.create("/dev/cu.usbserial-0001");
const device = new MeshDevice(transport);