mirror of
https://github.com/meshtastic/web.git
synced 2026-04-30 18:53:48 -04:00
* Transport status events Add symbol docs Emit transport status events Transport test suite * Review fixes * Remove core dependency * HTTP transport use AbortSignal, error handling in TransportNode * Improve stream handling * Update packages/transport-web-serial/src/transport.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix linting --------- Co-authored-by: philon- <philon-@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@meshtastic/transport-node
Overview
@meshtastic/transport-node Provides TCP transport (Node) for Meshtastic
devices. Installation instructions are available at
JSR
NPM
Usage
import { MeshDevice } from "@meshtastic/core";
import { TransportNode } from "@meshtastic/transport-node";
const transport = await TransportNode.create("10.10.0.57");
const device = new MeshDevice(transport);