Skip to content

v0.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 03:00
· 3 commits to main since this release
369e177

New in v0.9.0

Firmware

  • RNode mode keeps a burst. The board now holds up to 64 packets in 6144 bytes waiting to be sent (it held 3), and ESP32 boards have a larger receive buffer. Before, most of a burst from a host without flow control (Reticulum's default) was lost.
  • A board without a clock stays heard after restarts. It saves its time when it announces, so a board restarted soon after starting no longer repeats its time and gets ignored. A board updated from v0.8.0 or older may be ignored once for up to two minutes of announced time.

Linux programs

  • Filters and limits from RNS 1.6: [filter] hop_limiter, ignored_types, allowed_types, required_only; hop_limiter per interface; on BackboneInterface, client_limit and a blocked_ips file beside the configuration.
  • Status: an RNode's settings as it reports them, RNode Multi radios' airtime and channel load, a Weave switch's load, ids and routes, and for I2P the tunnel state, b32 address and connected endpoints. Without target_host/target_port, I2P uses I2P_SAM_ADDRESS.
  • RNode over Bluetooth LE (port = ble://), through BlueZ. Only in builds from source with libdbus installed; the archives below do not include it. Tried with this firmware on a T-Echo, not with a stock RNode.

Known limit: do not set flow_control = yes for an RNode on a T-Beam Supreme: an occasional "ready" from the board is lost and the link then stops. It is off by default.

Upgrading from v0.8.0

  • An RNodeMultiInterface with id_callsign now sends the call sign on every radio, including one with outgoing = no, as the reference does. Leave id_callsign unset if such a radio must never transmit.
  • BackboneInterface listeners now take at most 500 clients unless client_limit says otherwise.
  • Library users must rebuild: public structures grew, so the shared library's ABI number is now 4.

Upgrading from v0.7.x or older

The v0.8.0, v0.7.0, v0.7.1 and v0.6.1 notes list what changed then. In particular:

  • AutoInterface now uses every suitable network device. Before, it used only the first. Without a devices line, announces now go out on every such network (container, VM and VPN devices included). Limit it with devices or ignored_devices.
  • Traffic statistics read differently: discarded packets are no longer counted in received bytes, and totals are running totals that keep closed connections and leave out local programs.
  • Request timeouts (rnc_service, rnc_requester) are now the time for the answer to begin: a response that is already arriving is no longer cut off.
  • reticulum-c-ctl id -a takes 3 seconds, so that rnsd passes the announce on.

Linux builds

Self-contained Linux builds (musl, fully static: OpenSSL and bzip2 are linked in, nothing to install on the device).

Archive Runs on
linux-x86_64-musl PCs, servers, virtual machines
linux-aarch64-musl Raspberry Pi 3/4/5 and Zero 2 with a 64-bit OS, Jetson, Orange Pi and similar
linux-armv7-musl Raspberry Pi 2/3/Zero 2 with a 32-bit OS and similar
linux-armv6-musl Raspberry Pi Zero and 1 (also runs on the armv7 boards)

Each archive holds bin/ (the node daemon and tools), include/ and lib/ (static libraries, OpenSSL and bzip2 for static linking, a CMake package), BUILDINFO and the documentation. To link the SDK from CMake: -DCMAKE_PREFIX_PATH=<unpacked directory> -DOPENSSL_USE_STATIC_LIBS=ON. The Linux library needs a POSIX host with OpenSSL; use these builds on the computer a radio is attached to.

Microcontroller firmware (example node, serial interface; Wi-Fi TCP on ESP32 once provisioned; optional LoRa radio, off until configured)

reticulum-c-<version>-mcu-<board>.zip holds the firmware images, flash.txt with the exact flashing commands for that board, BUILDINFO (version, commit, toolchain versions), the manual and a README. The firmware is a Reticulum leaf node with one HDLC serial interface (the Reticulum SerialInterface framing): a host running reticulum-c-node or rnsd with the board as a SerialInterface routes between the board and the network. It announces reticulum_c.mcu.example and answers /echo and /info. It uses the portable crypto backend and the small mcu capacity profile (no OpenSSL).

Wi-Fi (ESP32 and ESP32-S3 archives). Unprovisioned images start in serial mode and contain no Wi-Fi credentials; updates that preserve settings retain the selected mode. To join a network, provision the board after flashing: run tools/wifi-config.sh from the archive (writes the Wi-Fi settings as an NVS image with esptool, no console needed; --arduino for the PlatformIO archives, which replaces their NVS partition and so their identity), or send the line rnc-config on the serial port within 2 seconds after reset (or press BOOT) and use the set/save/reboot console. The board then connects as a TCP client to a node's TCPServerInterface (same HDLC framing). The TCP link is plaintext and unauthenticated at the transport level and the credentials are stored unencrypted in flash; MANUAL.md has the details. The nRF52 archives have no Wi-Fi.

LoRa radio (the nine PlatformIO board archives). Each of those images contains a driver for its board's radio (SX1262 on the Heltec V3, T3-S3, T-Beam Supreme, RAK4631, T114, XIAO nRF52840 Wio-SX1262 and T-Echo; SX1276 on the Heltec V2 and the T-Beam v1.0/1.1) and a Reticulum LoRa interface whose over-the-air format is meant to be compatible with stock RNodes on the same frequency and modem settings (header byte with sequence nibble and split flag, packets above 254 bytes in two frames, private-network sync word, CRC on, explicit header). lora.mode leaf makes LoRa the node's only interface; lora.mode gateway adds it to the serial or Wi-Fi interface with Reticulum transport on. The radio is off, and never transmits, until you have set the mode and all of frequency, bandwidth, spreading factor, coding rate and transmit power (console set lora.freq 868.1 ... or tools/wifi-config.sh --lora-mode ...); no default settings are in any image. You are responsible for a legal frequency, power and duty cycle where you use the board; the power setting is the power at the chip's output. The airtime budget defaults to 1% of every hour. Hardware bench testing is short runs on the T-Echo, T-Beam Supreme and XIAO nRF52840 Wio-SX1262, listed with dates under "Bench record" in MANUAL.md. Other boards retain build/model coverage; range, sustained load and stock RNode interoperability are unverified. The ESP-IDF archives are generic images without a board selection and have no radio; select a LoRa board in idf.py menuconfig and build from source to get one. The Supreme SX1262 target initializes its AXP2101 radio rail. Supreme LR1121 variants and T-Beam v1.2 are not supported.

Archive Board Build
mcu-esp-idf-esp32 ESP32 boards: Heltec WiFi LoRa 32 V2, LilyGo T-Beam, TTGO LoRa32 and similar ESP-IDF 5.4.4
mcu-esp-idf-esp32s3 ESP32-S3 boards: Heltec WiFi LoRa 32 V3, T-Beam Supreme, T3-S3, T-Deck and similar ESP-IDF 5.4.4
mcu-heltec_wifi_lora_32_v3, mcu-heltec_wifi_lora_32_v2, mcu-ttgo_t_beam, mcu-lilygo_t3_s3, mcu-lilygo_t_beam_supreme the named ESP32 / ESP32-S3 boards Arduino (PlatformIO)
mcu-wiscore_rak4631, mcu-heltec_t114, mcu-seeed_xiao_nrf52840_wio, mcu-lilygo_t_echo RAKwireless RAK4631, Heltec Mesh Node T114, Seeed XIAO nRF52840 Wio-SX1262, LilyGo T-Echo (nRF52840; UF2 and DFU files) Arduino (PlatformIO)

Updating an existing node. ESP32 merged.bin overwrites identity NVS (and provisioned settings on PlatformIO); use the separate-parts command in flash.txt to preserve NVS with the same partition layout. nRF52840 UF2/DFU files update only the application and preserve the internal file system, bootloader and SoftDevice; an existing compatible Adafruit bootloader is required.

Browser installer. Install and configure over USB offers the nine exact PlatformIO boards, versioned downloads and this firmware's rnc-config console. Its main-commit builds can include changes newer than a tagged release archive. In desktop browsers with Web Serial, ESP32 updates verify SHA-256 downloads and MD5 flash contents using separate parts; a factory erase requires an explicit choice and confirmation. nRF52840 uses acknowledged application-only serial DFU, with UF2 downloads also available. The setup form preserves a saved Wi-Fi password when left blank; explicitly select an open network to remove it. This uses reticulum-c provisioning, not RNode EEPROM/KISS configuration.

esp-idf-component.tar.gz is the protocol core and the example application as ESP-IDF components (use it with EXTRA_COMPONENT_DIRS). platformio-library.tar.gz is the same as a PlatformIO library (library.json; lib_deps = file:///path). Both are source archives.

Limits. The boards talk to a host over serial or USB (or, on ESP32 once provisioned, over Wi-Fi and TCP), and over LoRa once configured (see above). In these node modes they have no Bluetooth; Bluetooth LE is available only in rnode mode. Hardware coverage is the short bench runs described above, including serial provisioning, routed LoRa requests and RNode-mode file transfers; other boards have build/model coverage. Wi-Fi hardware behavior, range, sustained load and stock RNode interoperability remain unverified. The same application logic passes host tests against reticulum-c-node and the reference Reticulum. The nRF52 board definitions for the RAK4631, T114 and T-Echo are derived from the Adafruit nRF52840 Feather and assume the Adafruit bootloader; serial DFU has been exercised on the T-Echo. It is a leaf node (no forwarding) unless the LoRa gateway mode is configured. The rnode mode (a host-driven LoRa modem for Sideband or rnsd, over USB or, once a PIN is set, Bluetooth LE) has been run on a T-Echo: driven over USB by this project's host adapter, and over Bluetooth LE from a Linux PC and from Sideband on one Android phone, which connected while the T-Echo exchanged packets with a Supreme over the air. Sideband showing the announces the board receives, other phones, rnsd, the reference RNodeInterface in its own Bluetooth mode (over USB it configured the T-Echo and sent announces with its default timing; through a Bluetooth bridge only once its 0.25 second readback wait was lengthened), range, and the ESP32 Bluetooth transport (compiled only) remain unverified.

Check every download with sha256sum -c SHA256SUMS.

What's Changed

  • docs: Heltec V3 bench run; the board clock after a short run by @mondain in #137
  • mcu: save the board's time when it announces by @mondain in #138
  • host: I2P tunnel state, b32 address and I2P_SAM_ADDRESS by @mondain in #139
  • tests: reach the node over a link with latency in the remote test by @mondain in #140
  • host: radio settings, Multi radio statistics and Weave status by @mondain in #141
  • host: one station ID timer for an RNode Multi device by @mondain in #142
  • host: reach an RNode over Bluetooth LE through BlueZ by @mondain in #143
  • mcu: queue a stock RNode's worth of packets for sending by @mondain in #144
  • node, host: hop limiter, announce type filters, client limit, blocked IPs by @mondain in #145
  • release: reticulum-c 0.9.0 by @mondain in #146

Full Changelog: v0.8.0...v0.9.0