Files
archy-messh/host-bridge/adapters/__pycache__/reticulum_adapter.cpython-313.pyc
T

34 lines
5.4 KiB
Plaintext
Raw Normal View History

ó
¾^DjÅãó0SrSSKrSSKJr "SS5rg)Reticulum adapter — wraps RNS + LXMF (the standard host-side Reticulum
messaging stack; see docs/ARCHITECTURE.md for why archy-messh talks to a
real RNode-flashed radio via RNS rather than reimplementing Reticulum's
wire format from scratch).
Reticulum has no built-in broadcast-channel concept the way Meshtastic
("channel" PSK) or MeshCore ("public channel index") do — LXMF messaging is
addressed point-to-point between Destinations. To bridge broadcast-style
text, this adapter tracks a roster of peer LXMF delivery destinations
learned from their announces (any Reticulum/Sideband/NomadNet/MeshChat user
who has announced is added), and fans outbound bridge messages out to that
roster individually. This is the simplest correct v0; a dedicated shared
GROUP destination (symmetric-key, closer to a real "channel") is a known
follow-up once Phase 0 proves the roster approach works at all.
éN)ÚCallablecó‚\rSrSrSrSrSS\\\\/S4S\S\4SjjrSS
jr SS jr
SS jr S
\S S4Sjr SSjr
Srg)ÚReticulumAdapteréÚ reticulumz
lxmf.deliveryÚ
on_messageNÚ storage_pathÚ display_namecóÆXlX lX0lSUlSUlSUl[
5Ul[R"5Ul
URUl g©N)
Ú _on_messageÚ
_storage_pathÚ
_display_nameÚ_routerÚ _identityÚ _destinationÚsetÚ_peersÚ threadingÚLockÚ_lockÚASPECTÚ
aspect_filter)Úselfrr r
s Úadapters/reticulum_adapter.pyÚ__init__ÚReticulumAdapter.__init__sQð ØØØˆŒ ؈ŒØ ˆÔÜ"%£%ˆŒ Ü—^Œ
ð
"Ÿ[™[ˆÕóÚreturncóÞSSKnSSKnUR5 URURS9UlUR
5UlUR
RURURS9Ul
UR