Files
Dan Ditomaso 1954d48f56 Fix CORS false positives and improve HTTP reachability checks (#1016)
Replace no-cors opaque fetch with a real CORS probe against
/api/v1/fromradio so the client detects actual CORS and cert
failures. Return structured error reasons with user-actionable
messages. Replace redundant manual OPTIONS probe in TransportHTTP
with a GET /fromradio check with proper timeout and error handling.
Retry connection test up to 3 times in AddConnectionDialog with
attempt progress shown in the button. Remove broken useLocalStorage
test.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 21:41:47 -05:00
..
2025-06-26 11:52:57 -04:00
2025-07-10 12:28:23 -04:00
2025-08-31 16:04:34 -04:00

@meshtastic/transport-http

JSR CI CLA assistant Fiscal Contributors Vercel

Overview

@meshtastic/transport-http Provides HTTP(S) transport for Meshtastic devices. Installation instructions are available at JSR NPM

Usage

import { MeshDevice } from "@meshtastic/core";
import { TransportHTTP } from "@meshtastic/transport-http";

const transport = await TransportHTTP.create("10.10.0.57");
const device = new MeshDevice(transport);

Stats

Alt