RNS::WeaveInterface
Inherits RNS::Interface < Reference < Object
Primary Weave interface for the Reticulum network stack. Manages WDCL serial connections and spawns WeaveInterfacePeer instances for each discovered remote endpoint.
Constants
BITRATE_GUESS = 250_i64 * 1000
DEFAULT_IFAC_SIZE = 16
FIXED_MTU_FLAG = true
HW_MTU_VALUE = 1024
MULTI_IF_DEQUE_LEN = 48
MULTI_IF_DEQUE_TTL = 0.75
PEERING_TIMEOUT = 20.0
Constructors
Instance methods
connection
Sourcecpu_load
Sourcedevice
Sourcedir_in
Sourcedir_out
Sourceendpoint_id
Sourcefinal_init_done
Sourcehw_errors
Sourcemem_load
Sourcemif_deque
Sourcemif_deque_times
Sourceonline
Sourcepeer_count
Sourcepeer_job_interval
Sourcepeer_jobs
Sourcepeer_spawned_interfaces
Sourcepeering_timeout
Sourcepeers
Sourceport
Sourceprocess_outgoing(data : Bytes)
Send data out through the interface. Subclasses must implement this.
switch_id
Sourceswitch_identity
Sourceswitch_identity=(switch_identity : Identity)
Sourcetimed_out_interfaces
Sourceto_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
write_lock
Source