RNS
Crystal port of the Reticulum Network Stack.
Reticulum is a cryptography-based networking protocol for building reliable, encrypted, and authenticated communications over any available medium. This module provides the complete RNS API including Identity management, Destination addressing, Packet construction, Link establishment, Channel messaging, Resource transfers, and a full suite of network interfaces.
See: https://reticulum.network
Constants
Maximum log file size before rotation (5 MB).
Log level constants, matching the Python RNS log levels exactly.
Log destination constants.
Current version of the Crystal RNS shard.
Class methods
Performs graceful shutdown: saves state, tears down interfaces, then exits.
Emits a log message at the given level. The message is routed to
stdout, a file, or a callback depending on the current logdest.
Callback proc invoked for each log line when logdest is LOG_CALLBACK.
Returns a high-precision timestamp string (HH:MM:SS.mmm).
Formats a Unix timestamp as a human-readable string using the configured format.
Nested types
- RNS::AX25
- RNS::AX25KISSInterface
- RNS::AutoInterface
- RNS::AutoInterfacePeer
- RNS::BZip2
- RNS::BackboneClientInterface
- RNS::BackboneInterface
- RNS::BackboneInterfaceConstants
- RNS::Base32
- RNS::Buffer
- RNS::CEType
- RNS::Channel(TPacket)
- RNS::ChannelException
- RNS::ChannelOutletBase(TPacket)
- RNS::ConfigObj
- RNS::Cryptography
- RNS::Destination
- RNS::Discovery
- RNS::Envelope(TPacket)
- RNS::HDLC
- RNS::I2PController
- RNS::I2PExceptions
- RNS::I2PInterface
- RNS::I2PInterfacePeer
- RNS::Identity
- RNS::Interface
- RNS::InterfaceAnnouncer
- RNS::KISS
- RNS::KISSInterface
- RNS::Link
- RNS::LinkCallbacks
- RNS::LinkChannelOutlet
- RNS::LinkLike
- RNS::LinkStub
- RNS::LocalClientInterface
- RNS::LocalServerInterface
- RNS::Management
- RNS::MessageBase
- RNS::MessageState
- RNS::NetInfo
- RNS::Packet
- RNS::PacketReceipt
- RNS::PacketReceiptCallbacks
- RNS::PipeInterface
- RNS::PlatformUtils
- RNS::ProofDestination
- RNS::RNodeInterface
- RNS::RNodeKISS
- RNS::RNodeMultiInterface
- RNS::RNodeMultiKISS
- RNS::RNodeSubInterface
- RNS::RNodeTCPConnection
- RNS::RawChannelReader(TPacket)
- RNS::RawChannelWriter(TPacket)
- RNS::RequestReceipt
- RNS::RequestReceiptCallbacks
- RNS::Resolver
- RNS::Resource
- RNS::ResourceAdvertisement
- RNS::Reticulum
- RNS::ReticulumInstance
- RNS::Rncp
- RNS::Rnid
- RNS::Rnpath
- RNS::Rnprobe
- RNS::Rnsd
- RNS::Rnstatus
- RNS::Rnx
- RNS::SAMClient
- RNS::SerialConstants
- RNS::SerialInterface
- RNS::StreamDataMessage
- RNS::SubIntConfig
- RNS::SystemMessageTypes
- RNS::TCPClientInterface
- RNS::TCPInterfaceConstants
- RNS::TCPServerInterface
- RNS::Transport
- RNS::TypeError
- RNS::UDPInterface
- RNS::WeaveCmd
- RNS::WeaveDevice
- RNS::WeaveEndpoint
- RNS::WeaveEvt
- RNS::WeaveInterface
- RNS::WeaveInterfacePeer
- RNS::WeaveLogFrame
- RNS::WeaveWDCL
- RNS::WeaveWDCLConnection