|
F439_CPP_TX-RX_LoRa_Project
|
This page describes how the RadioLink protocol prevents replay attacks.
RadioLink uses a combination of an epoch value and a monotonic counter to ensure that previously transmitted frames cannot be accepted again by a receiver.
The system follows an epoch‑per‑boot model.
TX node behavior:
RX node behavior:
The replay protection mechanism provides:
Because the epoch is written only once per boot, FRAM wear is minimized while still providing replay protection across power cycles.
Replay freshness is enforced during the RX processing pipeline by the stage:
radioLinkRxReplayIsFresh()
This stage verifies that the received counter is newer than the last accepted value for the sending node.