NetAlchemy Suite · Cross-platform serial gateway

SerialGate

One SerialGate. The transport changes; the application opening the serial port does not.

Connects existing applications to COM/tty ports, USB-serial hardware, Bluetooth and remote devices. The product identity remains stable on Windows, Linux, macOS and Android.

SerialGate
Available now

Raw TCP for compatibility, TLS for encryption and server authentication, and optional mTLS for mutual identity.

In development

NNG, ZeroMQ and MQTT will use the same serial-v1 session contract; they are not separate products or finished capabilities.

Controlled end-to-end flow

Existing application
→
Virtual COM / tty
→
SerialGate
→
Provider or device

Current raw mode preserves bytes. serial-v1 will add signals, settings, sequencing, leases, errors and capability negotiation.

Transports and actual status

Available now

TCP · TLS · mTLS

Implemented and tested. Reconnection, metrics, OS service and TCP/TLS channel; optional mTLS.

In development

NNG

Planned after serial-v1. pair/pair1 patterns and TLS/mTLS for message-oriented links.

In development

ZeroMQ

Planned. Dealer/router or pair, with CURVE and authorized key lists for existing ZeroMQ topologies.

In development

MQTT

Planned. Per-session topics, TLS/mTLS and message security with expiry and deduplication.

Virtual serial port by platform

Windows

Separately installed maintained com2com driver, GPL-2.0-only; commercial alternative under its EULA.

Linux

serialsim is the preferred base, GPL-2.0-or-later; it needs a fork, DKMS, CI and CTS improvements.

macOS

PTY/socat is data-only. Full serial needs a SerialDriverKit feasibility proof or physical null-modem hardware.

Android

USB Host through usb-serial-for-android, MIT. It does not publish a global COM port for other apps.

What is not promised yet

Neither a PTY nor raw TCP preserves RTS/CTS, DTR/DSR/DCD, RI, BREAK and serial errors by itself. These capabilities will only be advertised as full-serial after serial-v1 and every backend pass the test matrix.

Evidence and validation plan