Protocol interoperability and parity
Ratspeak's Rust protocol stack is engineered and continuously tested for byte-exact wire interoperability with Mark Qvist's reference Python implementations of Reticulum, LXMF, and LXST.
Stack parity matrix
| Ratspeak Rust component | Reference protocol target | Interoperates with |
|---|---|---|
rsReticulum 1.5.x | Python Reticulum 1.6.x (1.5.0 → 1.6.0; 1.5.1 → 1.6.1) | rnsd, Sideband, NomadNet, MeshChat, Columba, any Reticulum node |
rsLXMF 1.5.x | Python LXMF 1.3.x (1.5.0 → 1.3.0; 1.5.1 → 1.3.1) | lxmd propagation nodes, Sideband, NomadNet, any LXMF client |
rsLXST 0.4.x (experimental) | Python LXST 0.6.x | Compatible LXST voice endpoints (Opus / Codec2) |
rsReticulumLite / rsLXMFLite | no_std port of rsReticulum / rsLXMF (Handheld 2.3.5) | Full Reticulum & LXMF nodes (within the 3,659 B local Resource ceiling) |
lrgp-rs / lrgp-py | lrgp.v1 over LXMF fields 0xFB/0xFD | Ratspeak & LRGP-enabled clients (plain fallback text on other LXMF clients) |
Continuous cross-platform interoperability results between Rust and Python nodes are published live at interop.ratspeak.org. Parity checks validate both byte-exact cryptographic/packet test vectors and live end-to-end exchanges against real Python rnsd and lxmd processes.
Feature-by-feature interoperability
| Capability | Ratspeak ↔ Sideband / NomadNet | Ratspeak ↔ Python rnsd / lxmd | Ratspeak ↔ Handheld 2.3.5 |
|---|---|---|---|
| Identities, announces, routing, ratchets | Full | Full | Full |
| Links, Channels, Buffers, Request/Response | Full | Full | Links & bounded Resources (≤ 3,659 B local) |
| LXMF Direct, Opportunistic & Propagated delivery | Full | Full | Full (client propagation wrap/fetch) |
Network stamps (1.6.x) & LXMF stamps/tickets (1.3.x) | Full (fractional f64 costs) | Full | Supported via resumable streaming PoW |
| Contact QR exchange | Ratspeak QR + lxma:// Legacy QR | N/A | Both Ratspeak QR and lxma:// Legacy QR |
| Markdown formatting & message reactions | Plain text readable everywhere; rich rendering in Ratspeak | Stored opaquely | Plain text readable |
| LRGP turn-based games | Readable text fallback (e.g. [LRGP TTT] Move 3) | Stored opaquely | Readable text fallback |
| Channels (hub-hosted group rooms) | Hub/RRC room protocol (separate from private LXMF) | Uses Reticulum Links | N/A |
Key version & format transitions to watch
ifac_sizeunits (rsReticulum 1.5.0+):ifac_sizein INI configs is now in bits (matching Python Reticulum; e.g.128= 16 bytes). EarlierrsReticulum 1.3.xconfigs used bytes — convert them withrnsd-rs config ifac-units.- SQLite state stores (
1.5.0+):rsReticulum(storage/known_destinations.db,storage/cache/announces.db) andrsLXMF(storage/lxmf/state.db) use the same SQLite persistence formats as Python Reticulum 1.6.x and LXMF 1.3.x. - Bluetooth Peer UUID (
Ratspeak 1.1.0+): The BLE Peer GATT service UUID changed in Ratspeak1.1.0(13370001-c7cb-4de2-98de-5d87fa06443d). Both devices must run1.1.0+to discover each other over Bluetooth Peer. - LXMF MessagePack fields (
set_msgpack_field): Structured fields (0xFB/0xFDfor LRGP,FIELD_TICKET,FIELD_REACTION,FIELD_RESULTS) must be encoded as native MessagePack types rather than binary byte blobs to interoperate with Python LXMF.
Intentional operational differences
To allow Ratspeak, standalone Rust daemons, and Python Reticulum to coexist cleanly on the same machine without clobbering files or ports, default storage roots and shared-instance ports are intentionally distinct:
| Runtime | Default config / data directory | Default shared-instance ports |
|---|---|---|
Python rnsd / lxmd | ~/.reticulum/ and ~/.lxmd/ | 37428 / 37429 |
Standalone rnsd-rs / lxmd-rs | ~/.rsReticulum/ and ~/.rsLXMF/ | 37428 / 37429 |
| Ratspeak app | <app data>/.ratspeak/identities/<hash>/reticulum/ | 37430 / 37431 |
Pass --config <dir> to standalone tools to point them at any directory, or attach Ratspeak to an existing rnsd / rnsd-rs daemon via Shared instances & topologies.
Next steps
- Compare apps side-by-side in Ratspeak vs. other clients.
- Explore the Rust crates in Developers overview.