Commit graph

7 commits

Author SHA1 Message Date
cfd658a4c7 The logs now include SF, BW, CR, and TXP alongside RSSI/SNR on:
RX PHY, RX PHY BAD, SIM PHY DROP
RX ANNOUNCE
RX LINK
TX ANNOUNCE
TX LINKREQUEST
TX LINK
2026-06-04 09:30:59 -07:00
398f0d8761 Modified project microReticulum:
Fix late packet callback binding for inbound Links

Handle the case where an inbound Link payload is decrypted before the app packet callback has been installed on that Link object. When Link::receive() sees decrypted plaintext with no packet callback, it now invokes the owner destination’s link-established callback as a late binding opportunity, then dispatches the already-decrypted payload if the callback was installed.

This prevents valid inbound Link messages from ending at RNSLINKRX event=no_packet_callback after decrypt_ok, and allows the app-level RX handler to report the received payload.
2026-06-03 20:38:11 -07:00
16507c54e8 Changed:
main.cpp: fixed the “only sends once” bug by replacing last_tx_second with a UTC minute key, so Bob/CY/DAN can send once per active peer every minute at their scheduled second.
TBeamSupremeLoRaInterface.cpp: added RSSI/SNR to receive-side PHY logging, including accepted frames, malformed frames, and simulated PHY drops.
main.cpp: added RSSI/SNR to RX ANNOUNCE and inbound RX LINK establishment logs.
README.md: added updated RSSI/SNR examples and a table for RNSLINKREQ, RNSPROOF_DELAY, RNSPROOF, RNSLRRTT, RNSLINKRX, and RNSDEC.
2026-06-03 20:04:54 -07:00
bf124257e8 LINK STALE clearing logic will not fire until 12 hours of stale activity by the current app-level rules.
I also updated README.md (line 18) to document the 12-hour threshold.
2026-06-03 17:52:00 -07:00
3d3b48735c Added a compile-time guard in Transport.cpp:
RNS_SUPPRESS_TRANSPORT_STATS
Enabled it for Exercise 205 in platformio.ini:
-D RNS_SUPPRESS_TRANSPORT_STATS=1
2026-06-03 11:56:31 -07:00
23fbc569c6 LINK payloads now look like BOB says Hi to CY iter=0.
Sender/recipient use board IDs for easier log aggregation.
Iteration count is still included and increments per peer.
Send cadence is now once per minute at the node’s allocated slot only. Removed the previous slot + 30s second send.
Removed noisy app-internal diagnostics like APP LINK..., APP RX..., and TX LINK SKIP.
Set Reticulum library logging to LOG_WARNING, which suppresses heap/path-store/entries/byte-count style diagnostics while preserving warnings/errors.
Fixed inherited physical slot label Fay to Flo.
Updated the README with the message cadence and examples
2026-06-03 10:00:57 -07:00
2a6fef41c7 What changed from 204:
Kept all units in transport mode with reticulum.transport_enabled(true).
Removed physical blocking: SIM_PHY_BLOCK_BOB_CY=0, no per-unit block.
Removed the extra deep transmission/debug flags from platformio.ini.
Kept the 204 announcement schedule/protocol.
Removed intentional Link teardown after message cycles.
Every unit now attempts an outbound Link to every peer that announces.
Added retry health behavior: 3 Link attempts within 3 minutes, then wait for a fresh announce before trying that peer again.
Preserved substantive parseable logs: TX ANNOUNCE, RX ANNOUNCE, TX LINKREQUEST, LINK ACTIVE, TX LINK, RX LINK, retry/failure/reset events.
Updated copied helper scripts to point at 205_sustained_link.
Updated README for the new exercise behavior.
2026-06-03 09:19:33 -07:00