Preprint
Article

This version is not peer-reviewed.

Adaptive Execution Timing for Offline First Quorum Coordination in LoRa Mesh Networks

Submitted:

21 July 2026

Posted:

22 July 2026

You are already at the latest version

Abstract
Emergency and infrastructure-poor environments require coordination mechanisms that continue operating despite intermittent connectivity, limited bandwidth, and changing node participation. Existing low-bitrate mesh systems commonly rely on fixed timing configurations that either introduce unnecessary waiting under favourable conditions or become fragile as airtime and contention increase. This paper presents an adaptive quorum-based coordination framework for low-bitrate LoRa mesh networks that continuously adjusts execution timing from estimated LoRa airtime and observed participation. Each node executes a lightweight Monitor–Analyse–Plan–Execute–Knowledge (MAPE-K) control loop that derives slot spacing and coordination deadlines online. The framework combines quorum and full-participation finalisation with bounded single-retry recovery to keep local state deterministic. The approach was implemented on a four-node SX1276 LoRa mesh with opportunistic gateway support and evaluated under crash and omission faults with honest firmware. Across 2,514 coordination rounds, median completion time was 2.1 s in three-of-four quorum mode and 5.3 s under full participation, while all first-deadline misses completed through bounded recovery. Results indicate that adaptive timing reduces completion-time penalties associated with conservative static scheduling while preserving bounded execution behaviour on the evaluated testbed. The contribution is a cross-layer execution-timing framework that treats airtime as a runtime control signal for offline-first LoRa mesh coordination rather than a fixed deployment parameter.
Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

When disasters, infrastructure outages, or remote deployments remove reliable backhaul, nodes must still coordinate decisions despite intermittent links, constrained airtime, and volatile participation. These constraints are acute in LoRa-based deployments, where long transmission times and variable spreading factors make coordination completion highly sensitive to how slot spacing and round deadlines are timed. Central schedulers are frequently unavailable in offline-first field settings, so timing control must emerge from local interaction among constrained nodes.
Quorum-based coordination provides a lightweight agreement mechanism that tolerates limited participation loss without heavyweight consensus infrastructure. In this paper, a vote denotes one bounded coordination round keyed by a unique identifier: nodes transmit on scheduled LoRa slots until either a quorum threshold or a full-participation rule is satisfied, after which local state is cleared. Many deployments still fix slot spacing and deadlines offline [1,2]. When links improve, fixed timing wastes latency margin; when airtime or participation worsens, the same schedules become brittle. LoRa optimisation has focused mainly on PHY/MAC efficiency (spreading-factor adaptation, collision reduction, energy-aware scheduling) [3,4,5,6], with far less attention to continuous retuning of coordination execution timing from live airtime.
This paper designs, implements, and evaluates an adaptive execution-timing framework for quorum-based coordination on constrained LoRa mesh nodes. Rather than treating timing as a fixed deployment parameter, each node runs a local Monitor–Analyse–Plan–Execute–Knowledge (MAPE-K) loop that derives slot spacing S ( c ) and round deadlines D ( c ) from LoRa time-on-air estimates, guard margins, and observed participation. Figure 1 summarises the four-node LoRa mesh, the opportunistic Wi-Fi/UDP gateway path, and the embedded MAPE-K loop on each node. The design is motivated by the Emergency Buddy System (EBS), where low-bitrate voice, lightweight ledger anchoring, and mesh coordination share the same airtime budget [7,8,9]. Prior EBS work addressed voice transport and gateway integration; this paper addresses the separate execution-timing problem that arises when verification and agreement must remain bounded under changing airtime.
The novelty is not a new consensus algorithm, new quorum theory, or a new MAPE-K architecture in the abstract. MAPE-K, adaptive radio scheduling, and quorum finalisation are established building blocks [10,11,12]. The contribution is closing the control loop from measured LoRa time-on-air into per-round coordination variables S ( c ) , D ( c ) , and dual-mode (quorum versus full-participation) finalisation on resource-constrained mesh nodes, with bounded queueing and a single retry so cleanup remains deterministic. Existing approaches typically adapt PHY parameters for delivery, membership, or epoch-level timeouts independently; they do not continuously expose PHY airtime as the runtime control signal for scheduled quorum execution.
We implemented the framework on a four-node SX1276 LoRa mesh and evaluated 2,514 coordination rounds under crash and omission faults with honest firmware. The results characterise latency, mode mix, and recovery on that testbed.
Our contributions are as follows.
a)
A runtime execution-timing framework that maps measured LoRa airtime ( ToA ( c ) ) into coordination scheduling variables S ( c ) and D ( c ) under constrained bandwidth.
b)
An embedded node-local MAPE-K loop that updates S ( c ) , D ( c ) , and finalisation policy from observed airtime and participation without adding coordination messages or changing agreement semantics.
c)
A bounded recovery architecture with a single active coordination instance, FIFO queue capacity K = 10 , and at most one retry per round.
d)
Firmware implementation and laboratory validation on a four-node LoRa mesh across 2,514 rounds under crash and omission faults with honest firmware.
The remainder of the paper is organised as follows. Section 2 reviews related work. Section 3 defines the system model and timing framework. Section 4 presents the algorithms. Section 5 analyses complexity and overhead. Section 6 and Section 7 describe the experimental setup and results. Section 8 discusses implications, and Section 9 outlines scalability and deployment considerations.

3. System Model

We model a low-power mesh in which each vote is one time-bounded coordination instance with explicit start, deadline, and cleanup so that intermittent links cannot grow unbounded local state. The following subsections fix topology, timing, and fault assumptions used later in the algorithms and evaluation.

3.1. Network, Timing, and Fault Management

Table 2 summarises notation. The architecture in Figure 1 is used throughout: an embedded management loop on each node and an opportunistic Wi-Fi/UDP path to a gateway, with the LoRa radio layer represented abstractly rather than as a geographic map.
Nodes are resource-constrained devices with a single application processor that may also serve best-effort gateway traffic; mesh timing is therefore modelled without assuming a dedicated quiet host. The graph, clock, and loss model below capture the quantities the adaptive scheduler uses. Latency, loss, and contention on each link vary with environment and duty cycle.
Let G = ( N , E ) be a directed graph where each node i N has a LoRa interface and each link ( i , j ) E has delay δ i j ( t ) and loss probability p i j ( t )  [3]. Nodes are half-duplex, use fixed transmit power P t , and choose physical parameters c = B W , S F , C R (bandwidth, spreading factor, coding rate) [4,34].
Each node keeps a local clock. The timing model treats misalignment relative to a reference schedule as bounded by the configured parameter Δ clk  [35]. LoRa time-on-air ToA ( c ) dominates packet duration; queueing and propagation add smaller but non-negligible jitter under contention. Let M i j ( τ ) be the set of payloads successfully delivered from i to j within time τ .
Together, G, c, and Δ clk supply the inputs on which S ( c ) , D ( c ) , and the MAPE loop operate; the next subsection fixes the round semantics built on top.

3.2. Coordination and Timing Framework

Coordination proceeds in discrete rounds, each initiated by a node acting as a temporary leader. A round comprises n slots transmission slots determined by the channel-adaptive schedule S ( c ) and bounded deadline D ( c ) :
S ( c ) = ToA ( c ) + t sw + t g ,
D ( c ) = n slots S ( c ) + t lead + t gw + t margin .
For a homogeneous validator set of size n, we take n slots = n so each vote round assigns one deterministic LoRa transmit slot per participant before quorum aggregation.
Each node maintains a single active vote v = id , t start , t deadline , r with retry flag r { 0 , 1 } . Votes that arrive while another is active are stored in a bounded FIFO queue Q of capacity  K = 10 . This ensures deterministic upper bounds on latency and resource usage, with maximum queue recovery time of 10 × S ( c ) .
The algorithmic design assumes a hybrid fault framework appropriate for intermittently connected LoRa mesh networks [36,37]. Nodes may experience crash faults, in which a node stops transmitting or fails silently, as well as omission faults caused by packet loss due to channel interference or buffer overflow. In addition, timing faults are considered: local clock drift can lead to slot misalignment within the configured Δ clk envelope used in the analysis.
The coordination layer exposes a quorum decision interface and enforces deterministic timing bounds through S ( c ) , D ( c ) , bounded queueing, and a single retry. The fault model considers crash and omission behaviour on intermittently connected links; adversarial Byzantine behaviour is out of scope for the implementation level properties stated here and for the evaluation in Section 6.
A round is successful if at least q nodes agree on the same vote outcome within the deadline D ( c ) . If the quorum condition is not satisfied within the specified deadline, the protocol initiates a bounded retry mechanism, allowing at most one retry per vote.

3.3. Baseline Model: Static Slot Scheduling (SSS)

To compare against a conservative non-adaptive schedule without collecting a second corpus, we define static slot scheduling (SSS) that fixes the LoRa configuration to c SF 12 (SF12 on 125 kHz with the same coding and payload assumptions as the firmware) and uses worst-case airtime for every round. Static spacing and deadline are
S static = ToA ( c SF 12 ) + t sw + t g ,
D static = n slots S static + t lead + t gw + t margin .
Both the adaptive scheduler and SSS are grounded in the same time-on-air quantity ToA ( · ) : the adaptive controller computes ( S ( c ) , D ( c ) ) from ToA ( c ) using the current radio configuration c, whereas SSS fixes c to c SF 12 and therefore uses one conservative ToA ( c SF 12 ) for all rounds. The key distinction is whether the timing rules track per-round PHY settings (adaptive, executed) or impose a fixed ToA schedule (static). Section 7.2 reports three complementary comparison points: (i) the measured adaptive validation trace, (ii) an executed fixed-configuration static baseline (SF10) measured on hardware (Table 4), and (iii) a replay-derived fixed-SF12 worst-case timing baseline (SSS) applied counterfactually to the adaptive trace (Table 7). Trace replay then recomputes each validation round’s counterfactual completion time by substituting ( S ( c ) , D ( c ) ) with ( S static , D static ) while preserving the logged initiation order, per-slot transmission attempts, and finalisation events (quorum formation and retries). Medians and tail latencies in Table 7 are replay-derived; the measured adaptive row is taken directly from the same 2,514-round trace. This baseline is a counterfactual timing comparison that holds the observed event sequence fixed while changing only the slot/deadline rules; it does not, by itself, constitute a second long-run executed with static SF12 timing on the nodes.
Trace replay quantifies timing-rule sensitivity on an identical logged event sequence, and it does not model closed-loop feedback that would arise under an actually executed static policy. In particular, (i) longer slot spacing can change collision/loss patterns, (ii) different deadlines can change when retries occur and thus alter subsequent transmissions, and (iii) queue dynamics can change when earlier rounds take longer and overlap with application and gateway activity. For these reasons, we use replay to characterise timing-policy sensitivity and a conservative upper-bound schedule under fixed events, while treating executed baselines as the source of measured static-configuration behaviour.
A companion study evaluates executed fixed configuration behaviour of the same four-node LoRa mesh stack under a fixed high-reliability PHY setting (SF10 with 120-byte payloads), including measured quorum and full-participation latencies, success rate, and tail latency (Table 4). The SF12 SSS replay here answers a complementary question for the MAPE validation corpus: how pessimistic completion times become if every slot in the same 2,514-round log assumes worst-case SF12 airtime. The two baselines are not interchangeable—they answer different questions under different PHY assumptions—but together they separate (i) measured fixed-configuration operation from (ii) counterfactual worst-case static timing on the adaptive event log. Executing a long-run static-SF12 schedule on hardware for the same workload remains a useful extension.

3.4. Problem Definition and Design Rationale

We seek a self-managing mesh coordination layer with: (i) safety—at most one committed outcome per vote id; (ii) liveness under crash/omission within the tested quorum model; and (iii) low latency L and bounded recovery time T rec on duty-cycled, memory-limited devices. Central orchestration is ruled out by the deployment model.
Three constraints drive the design. Delays swing with SF, interference, and MCU load, so each node must sense and retune locally. A capacity-K queue, explicit D ( c ) , and r 1 retries cap state and avoid retransmission storms when several nodes recover together. The MAPE loop exports measurements directly into the slot planner, rather than through a separate management plane that might itself be unreachable.
Section 4 formalises these constraints as executable algorithms.

4. Algorithms

Notation used below is summarised in Table 2. Algorithm 1 is the vote engine: one active vote, FIFO queue of capacity K, and at most one retry. Algorithm 2 is the MAPE-K controller that samples radio and node metrics on a fixed interval and updates the timing parameters consumed by Algorithm 1. The subsections present cleanup rules, safety and liveness properties (Section 4.4), and the autonomic controller.
Algorithm 1 Channel-Adaptive Coordination with Queue and Single Retry
Require: 
s { , v } , FIFO queue Q of capacity K
Require: 
c , n slots , t sw , t g , t lead , t gw , t margin
1:
  
2:
Event OnReceiveVoteInit ( x ) :
3:
if  s =  then
4:
    v x , t now , t now + D ( c ) , 0
5:
   StartVote ( v ) ;
6:
else if x = s.id  then
7:
   MergeFragments ( s )
8:
else if  | Q | < K  then
9:
   Enqueue ( Q , x , t now , 0 , 0 )
10:
else
11:
   SendBusy ( x ) {Send NACK, sender backs off}
12:
end if
13:
  
14:
Event OnQuorumReached ( ) :
15:
FinaliseVote(); CleanupVote(); s
16:
if  Q   then
17:
    u Dequeue ( Q )
18:
    u . t start t now ; u . t deadline t now + D ( c )
19:
   StartVote ( u ) ; s u
20:
end if
21:
  
22:
Event OnDeadlineTick ( ) :
23:
if  s   and  t now s . t deadline   then
24:
   if  s . r = 0  then
25:
     FinaliseVote(); s . r 1
26:
      s . t start t now ; s . t deadline t now + D ( c )
27:
     RescheduleSlots ( S ( c ) )
28:
   else
29:
     FinaliseVote(); CleanupVote(); s
30:
     if  Q  then
31:
         u Dequeue ( Q ) ; u . t start t now ; u . t deadline t now + D ( c )
32:
        StartVote ( u ) ; s u
33:
     end if
34:
   end if
35:
end if

4.1. Deterministic Cleanup with Bounded Queue and Single Retry

To ensure predictable recovery under intermittent links, the coordination engine maintains at most one active vote at a time. Incoming votes are queued in a bounded FIFO buffer of capacity K. Each vote v = id , t start , t deadline , r carries a retry flag r { 0 , 1 } . A vote may be retried once using updated timing derived from the channel configuration c.
The slot spacing and deadline are computed from the LoRa time-on-air parameters (closed-form airtime from the PHY parameterisation of the deployed transceiver family [4,38]):
t sym ( B W , S F ) = 2 S F B W ,
S ( c ) = ToA ( c ) + t sw + t g ,
D ( c ) = n slots S ( c ) + t lead + t gw + t margin .
The queue provides bounded buffering with capacity K = 10 , ensuring deterministic recovery time O ( K ) . Safety is maintained by enforcing a single active vote and limiting the retry count to at most one ( 1 ). Timing functions S ( c ) and D ( c ) adapt automatically with LoRa bandwidth and spreading factor, thereby stabilising slot allocation under channel variation.
When queue capacity is exceeded, the node issues a SendBusy notification (NACK) to the vote initiator to signal overload; the initiator then applies exponential backoff (initial delay 500 ms, maximum 4 s) before retrying, which prevents vote loss without unbounded congestion.

4.2. Correctness and Bounded Progress

The correctness of the autonomic coordination process is defined by two fundamental properties: safety and liveness. Safety ensures that all non-faulty nodes reach consistent decisions, while liveness properties that progress continues despite transient faults and intermittent connectivity.
Safety is enforced through a set of invariants that constrain node behaviour throughout the coordination process. At most one active vote may exist within a round at any given time, and vote cleanup must complete before the initiation of any subsequent vote. Each vote is retried at most once, which bounds fault recovery and prevents unbounded retransmission, while FIFO ordering of queued votes preserves the arrival sequence across distinct identifiers.
Together, these invariants prevent two quorums from deciding conflicting outcomes for the same vote identifier. Because any retry reuses the same identifier and deadline structure, stale or duplicate state cannot be committed after cleanup. As a result, agreement is preserved provided that the quorum size satisfies q > f and that at least one honest node remains active in each round.
The algorithm design ensures liveness when at least a quorum of nodes remains reachable within bounded delay  D ( c ) . If temporary disruptions prevent quorum formation, pending votes are held in the queue Q and retried after timeout. The bounded queue capacity K prevents indefinite growth of uncommitted votes, maintaining finite recovery time.
Formally, let T rec denote the maximum time to recover quorum after a transient fault. Given retry bound r 1 and deterministic slot spacing S ( c ) , the expected upper bound on recovery is:
T rec 2 D ( c ) + K S ( c ) ,
which ensures eventual completion under bounded delay and limited fault rate under the stated fault model.

4.3. Assumptions and Decision Semantics

To avoid over-interpreting the implementation-aligned properties below, we make explicit the assumptions and the meaning of finalisation used in this paper.
Each coordination instance is keyed by a unique vote identifier id and targets a single outcome value associated with that identifier (e.g., a hash-committed payload). A node FinaliseVote() when either (i) a quorum of q authenticated participant messages is accumulated (quorum mode, three-of-four in the evaluation), or (ii) all n participants contribute within the bounded wait window W perf (full participation mode). Once finalised, CleanupVote() removes local state for that identifier and prevents later messages for the same id from being committed after cleanup.
The arguments in Section 4.4 are stated for the evaluated crash/omission setting with honest firmware, where (i) messages are authenticated and vote identifiers are not forged; (ii) non-faulty nodes follow the specified queue, deadline, and retry rules ( K = 10 , r 1 ); (iii) participants share a consistent membership list for the round; and (iv) quorum intersection holds for the chosen threshold [12]. Byzantine equivocation, replay attacks, and adversarial scheduling are outside the experimental scope of this paper.

4.4. Implementation Invariants and Recovery Bounds

We state compact properties that mirror the implemented invariants and bounds rather than a full protocol proof under adversarial scheduling.
Proposition 1 (implementation safety shell, per vote id). At most one committed value is associated with each vote identifier.
Invariant I1 enforces a single active vote; retries reuse the same identifier and deadline envelope; FIFO queueing with cleanup before the next activation prevents overlapping decisions for the same id. Under authenticated messages and quorum intersection assumptions, two conflicting quorums for the same id cannot both complete without violating those invariants. This is an implementation-aligned argument rather than a full proof under adversarial scheduling.
Proposition 2 (bounded liveness). If at least q nodes are reachable within deadline D ( c ) for a vote, then that vote completes or exhausts its single retry within
T rec 2 D ( c ) + K S ( c ) .
A vote either finalises on the first attempt, waits one bounded retry, or is superseded by queue draining; each step waits at most D ( c ) , and at most K queued predecessors each advance by one slot spacing S ( c ) .
The system therefore provides bounded, implementation aligned properties. Empirical checks in Section 7 show the invariants held on all 2,514 validation rounds under crash and omission faults.

4.5. Autonomic Controller for Mesh Coordination

Algorithm 2 implements the autonomic controller for EBSC in intermittently connected networks. The controller follows the MAPE-K paradigm, integrating monitoring, adaptation, and recovery directly into the coordination execution path without reliance on centralised coordination.
Algorithm 2 Autonomic controller for offline-first quorum coordination
Require: 
Local radio metrics; deterministic ToA model; payload byte lengths pktBytes and sigPktBytes; leader view-controller; gateway optional
Ensure: 
Self-monitor, self-adapt, self-heal under intermittent links
1:
  
2:
State: link metrics M , slot base Δ 0 , slot interval Δ , view v, window W perf
3:
  
4:
Procedure Monitor():
5:
M  Sample ( RSSI , SF , BW , CR , queueLoad , latency )
6:
ToA  SemtechToA ( SF , BW , CR , pktBytes )
7:
sigToA  SemtechToA ( SF , BW , CR , sigPktBytes )
8:
  
9:
Procedure Analyze():
10:
Δ 0 ToA + guard + switch + proc
11:
Δ sigToA + guard + switch
12:
W perf 3 Δ wait window for 4/4
13:
  
14:
Procedure Plan(v):
15:
AssignDeterministicSlots( Δ 0 , Δ )
16:
if QuorumReached() and ¬LeaderFrozen()  then
17:
   FreezeSigners(); ElectLeaderDet(); v 0
18:
end if
19:
if LeaderTimeout(vthen
20:
    v v + 1 view change for failover
21:
end if
22:
  
23:
Procedure Execute():
24:
ScheduleTX(); RunScheduledTX()
25:
if Perfect4of4Within  ( W perf )   then
26:
   FinalisePerfect()
27:
else if WindowExpired() and QuorumReached () then
28:
   FinaliseQuorum()
29:
end if
30:
if IsLeader()  then
31:
   SendToGatewayOrDefer()
32:
end if
33:
BroadcastConsensusStatus()
34:
EnforceDeadlineCleanup()
35:
  
36:
while True do
37:
   Monitor(); Analyze(); Plan(v); Execute()
38:
end while
In the monitoring phase, each node continuously observes radio and system-level metrics, including RSSI, spreading factor, bandwidth, coding rate, queue occupancy, and observed latency. Rather than relying on empirical transmission delays, the controller derives deterministic airtime estimates from the closed-form LoRa time-on-air expression in the radio parameters [4,38], allowing scheduling decisions to reflect real hardware behaviour under strict duty-cycle constraints.
The analysis and planning phases translate these observations into bounded timing and coordination decisions. The base slot Δ 0 aggregates the vote-payload airtime ToA ( c ) with guard, switching, and processing delays, while the inter-slot cadence Δ uses a second Semtech airtime variable sigToA, which implements ToA sig ( c ) for the shorter signed control frames on the mesh. A bounded performance window specifies the tolerance for achieving full agreement before falling back to quorum-based execution. Deterministic slot assignments are generated, and view state is managed to support leader continuity and failover. When the current leader becomes unresponsive, a view-change operation advances the view index and enables deterministic leader rotation.
Execution enforces the resulting schedule by transmitting votes and verification messages in assigned slots. Full agreement triggers immediate finalisation, while partial but sufficient quorum completion finalises under quorum mode. Finalised summaries are forwarded opportunistically to gateways when available, and each node performs deterministic cleanup to bound local state growth.
The knowledge component of the MAPE-K loop maintains protocol state, timing bounds, and recent execution outcomes, enabling each node to reason about progress and recovery locally. By embedding deterministic timing control, leader rotation, and bounded recovery actions within this autonomic cycle, the system achieves predictable coordination on low-bitrate, delay-tolerant links with quorum-mode and full participation finalisation as discussed in Section 3.

5. Complexity and Overhead

Per round, monitoring and analysis are O ( 1 ) in the number of scalar metrics sampled; planning and signature verification are O ( n ) per node for n participants. Aggregated over the mesh, signature checks imply O ( n 2 ) local work, whereas protocols such as PBFT [11] additionally incur O ( n 2 ) messages across phases; here the LoRa schedule keeps messages linear in n per round while verification cost remains the dominant quadratic term but parallelises per node.
Memory is O ( n ) for participant state plus O ( n K ) for signatures buffered with at most K = 10 queued votes, so queue RAM is bounded by construction. The MAPE-K loop runs on the same microcontroller as coordination; on the validation build it executed at a 50 ms interval and contributed under 2% CPU utilisation on the Arduino Uno R4 while sharing the core with LoRa and Wi-Fi tasks (Section 6). Adaptation adds no extra on-air control-plane messages beyond the scheduled vote and status frames already required by the coordination path, so communication overhead remains O ( n ) transmissions per round. Energy was not power-instrumented; LoRa airtime ToA ( c ) remains the dominant energy proxy under duty-cycle limits, and adaptive timing reduces unused wait relative to worst-case SF12 provisioning without claiming a joule-level battery budget.

6. Experimental Evaluation

We evaluate the firmware on a four-node LoRa mesh with opportunistic gateway backhaul, focusing on latency, mode mix, timeouts, and invariant checks under a controlled RF setting. Interpretation limits are collected in Section 6.2.

6.1. Experiment Design

The firmware evaluated here implements EBSC as the offline-first quorum coordination layer within EBS. Evaluation covers scheduled votes, quorum or full-participation finalisation, and bounded retries under crash and omission faults with honest firmware only; it must not be read as a Byzantine fault-tolerant consensus protocol despite historical internal naming in the wider project. A four-node LoRa mesh was built from Arduino Uno R4 WiFi boards (nodes A3–A6), each hosting a Semtech SX1276 LoRa transceiver on a 915 MHz ISM band module (125 kHz and 250 kHz channel options, spreading factors SF7–SF12, coding rate 4/5 in validation logs) and sharing a single-core firmware image that multiplexes LoRa, Wi-Fi, and UDP tasks. An opportunistic Raspberry Pi 4 gateway provided best-effort Wi-Fi/UDP backhaul on port 20240; it was not required for safety or liveness. Every node ran one firmware build (Arduino IDE 2.3.3) combining Algorithm 1 and Algorithm 2; the MAPE loop updated Δ 0 , Δ , and W perf in the same task set as coordination using (1)–(2) with n slots = 4 . Gateway stalls of up to 10 s were observed after Wi-Fi drops during development, confirming that mesh timing cannot assume a quiet host.
For experimental observability, all nodes were connected via USB serial links (115,200 baud) to a central logging workstation running Windows 10. This configuration provides synchronised, high resolution event traces across nodes and supports the timing and invariant analyses reported in Section 7.
Communication followed a hybrid model combining WiFi UDP and LoRa mesh propagation. Nodes attempted UDP communication with the gateway when connectivity was available and fell back to LoRa-based forwarding when disconnected or partitioned. The gateway listened on UDP port 20240 for finalised blocks and disseminated configuration updates when reachable. In mesh-only operation, configuration commands and initiation signals propagated via a hop-limited store-and-forward mechanism designed to prevent flooding.
Autonomic fault management was exercised through a distributed MAPE-K loop running locally on each node at a fixed 50 ms interval. On the validation firmware build, that control interval added under 2% CPU utilisation on the Arduino Uno R4 while sharing the core with LoRa and Wi-Fi tasks. To minimise control overhead, nodes exchanged only essential information, including outcomes, participant counts, and critical timing measurements. Gateway reachability was determined through adaptive probing, with nodes operating fully autonomously when the gateway was unavailable. This design ensured that adaptation and recovery behaviour were evaluated under both connected and partitioned conditions without reliance on centralised coordination.

6.2. Limitations of Experimental Validation

The evaluation uses a four-node testbed with high-rate USB serial instrumentation and co-located LoRa radios in a controlled indoor laboratory. This setting supports detailed timing and invariant checking, and it fixes the scope of what is measured.
  • Clocking and synchronisation. USB serial logging introduces implicit clock alignment through the host; independent untethered oscillator drift is not measured.
  • RF environment. The controlled indoor laboratory does not capture outdoor multipath, strong external interference, mobility, or geographic dispersion.
  • Scale. Topology size n = 4 does not characterise denser meshes or large validator sets; Section 9 provides analytical scaling arguments only.
  • Fault model. Experiments exercise crash and omission faults with honest firmware. Byzantine equivocation, adversarial scheduling, and intentional jamming are out of scope.
  • Baselines. The executed static reference is a fixed-SF10 hardware run (Table 4). The SF12 static comparison is a replay counterfactual on the adaptive event log (Table 7), not a long-run executed SF12 campaign on identical events.
  • Energy. Airtime is observed as an energy proxy; battery-level joule budgets were not power-instrumented.
  • External systems. We do not reimplement third-party adaptive LoRaWAN or consensus stacks on this testbed; related-work positioning is by objective and assumptions (Section 2).
Within this defined setting, the paper establishes the behaviour of the adaptive timing controller and bounded recovery mechanisms on real embedded hardware.

6.3. Experiment Execution

Rounds were initiated via UDP commands to nodes with gateway connectivity, while mesh-only nodes received initiation messages through LoRa propagation. Each node executed deterministic slot scheduling and single-retry logic as specified in Algorithm 1, maintaining autonomous operation regardless of gateway availability. To minimise network load, only essential coordination metadata were transmitted during execution, including vote identifiers, outcomes (full participation or quorum), and participant counts. LoRa configuration updates were disseminated through the mesh to ensure consistency even under partial connectivity.
Following an initial optimisation and stabilisation phase, the validation study comprised 2,514 coordination rounds executed on the controlled testbed. The evaluation covered natural link variability, rounds with varying numbers of participating nodes (three to four), and execution both with and without active gateway backhaul to assess fully mesh-autonomous operation. Multiple LoRa configurations were tested to examine the impact of channel parameters on latency, including spreading factors from S F = 7 to S F = 12 and bandwidths of 125 kHz and 250 kHz.
Operational margins were selected after laboratory experimentation on the target hardware rather than from analytic defaults alone. Extended bring-up runs were used to separate Wi-Fi/LoRa contention effects, validate queue and single-retry cleanup under fault injection, and settle the timing margins t sw = 50 ms, t g = 100 ms, and t lead = 200 ms together with K = 10 and r 1 , chosen to accommodate SX1276 airtime, half-duplex switching, and single-core scheduling on the Uno R4 while keeping deadlines tight enough to limit queue buildup. The reported validation results use one frozen firmware revision at these parameters; Section 7 analyses the 2,514-round post-tuning window. First-deadline satisfaction ρ and latency statistics in that window characterise steady-state behaviour of the selected configuration, not exploratory development logs.

6.4. Runtime safety invariant checks

The firmware asserts invariants I1–I4 on every round during validation. Table 3 records violations observed over the 2,514-round window; the checks provide implementation evidence complementary to the informal arguments in Section 4.4.
No violations were observed. Together with the static bounds on K and r, this supports the claim that the deployed binary matches the intended safety shell under the exercised fault model.

6.5. Outcome measures

Table 5 defines the metrics captured during experiments and used to evaluate coordination performance in Section 7. Metrics are extracted from instrumented firmware logs: the coordination engine (Algorithm 1) and MAPE loop (Algorithm 2) share one runtime image, so samples reflect single-core scheduling, LoRa variability, and intermittent WiFi.
Table 3. Runtime enforcement of safety invariants across 2,514 coordination rounds
Table 3. Runtime enforcement of safety invariants across 2,514 coordination rounds
Invariant Violations Max observed Status
I1: Single active vote 0 1 vote Verified
I2: Cleanup before next 0 Verified
I3: Single retry max 0 1 retry Verified
I4: FIFO ordering 0 Verified
Table 4. Executed fixed-configuration baseline (SF10) measured on identical hardware (separate run, not replay-aligned with the 2,514-round adaptive validation trace). Success rate applies only to the SF10 workload.
Table 4. Executed fixed-configuration baseline (SF10) measured on identical hardware (separate run, not replay-aligned with the 2,514-round adaptive validation trace). Success rate applies only to the SF10 workload.
Metric Value Configuration
Success rate 100% SF10, four nodes
Three-of-four quorum latency 2.7 s SF10, CR 4/5
Four-of-four latency 5.2 s SF10, CR 4/5
End-to-end latency (P99) 6.6 s SF10, 120 B payloads
Table 5. Outcome measures used in the validation analysis
Table 5. Outcome measures used in the validation analysis
Measure Symbol Definition
Coordination latency L Time from vote initiation to finalisation
First-deadline satisfaction rate ρ Fraction of rounds that satisfy the first adaptive deadline D ( c ) without invoking the single-retry path
A multi-threaded serial logger records 18 timing channels from all four nodes while matching vote events online; SF7–SF12 and 125/250 kHz settings are swept as described above. Section 7 reports the 2,514-round post-tuning validation window; development and bring-up traces were used for parameter selection and are excluded from those headline statistics.
In the validation trace, ρ = 0.886 (88.6% of rounds), complementary to the adaptive first-deadline timeout rate reported with the results depicted in Table 7. After warm-up, measured slot edges remained within ± 2 ms of the planner schedule under the USB-logged setup, consistent with the scheduled timing model used to derive S ( c ) and D ( c ) .

6.6. Artefacts and Reproducibility

The results in Section 7 are obtained from instrumented firmware logs collected on the four-node testbed for the 2,514-round post-tuning validation window. The corresponding USB serial traces, processed tables, and analysis scripts used to generate the reported figures and tables are publicly available at https://github.com/f2ka07/adaptive-timing-data/.

7. Results and Analysis

We structure the results as follows: mode-level latency, trace-replay comparison to static SF12 scheduling (Section 3.3), per-node summaries, distribution and correlation views, timeout and recovery behaviour, gateway sensitivity, and a synthesis tied to Table 7.

7.1. Participation-Mode Analysis

The framework supports two adaptive finalisation modes based on node participation, demonstrating the balance between latency and completeness. Table 6 presents the breakdown across 2,514 validation rounds. Figure 2 visualises the same mixture.
Table 6. Coordination Latency by Participation Mode
Table 6. Coordination Latency by Participation Mode
Mode Threshold Rounds Median (s) 90th %ile (s) 95th %ile (s)
Quorum (3/4) 75% 1,580 2.1 2.8 3.2
Full participation (4/4) 100% 934 5.3 6.4 7.2
Overall 2,514 3.4 6.4 7.2
The histogram shows a faster mass corresponding to quorum finalisation and a slower mass corresponding to full participation, with a small tail attributable to bounded single-retry recovery.
The system achieved three-of-four quorum finalisation (a three-node threshold in our four-node setting) in 62.9% of rounds (1,580/2,514) with median latency of 2.1 seconds. Full participation (4/4) occurred in 37.1% of rounds (934/2,514) with median latency of 5.3 seconds, reflecting the additional bounded wait time specified by the window W perf in Algorithm 2. Interpreting these statistics, the scheduler is designed to expose an explicit latency–completeness trade-off: when a quorum is reached quickly the round can finalise early, while rounds that keep waiting for 4/4 finalisation are intentionally slower but more complete in the sense of including all participants’ contributions under honest firmware. These results should be read within the evaluated crash/omission setting, not as evidence of adversarial Byzantine tolerance.

7.2. Trace-Replay Comparison to Static Slot Scheduling

This section separates three notions of baseline so the evaluation can be interpreted without conflating them. (i) Adaptive measured: the 2,514-round validation trace reported throughout Section 7. (ii) Static executed (fixed configuration): a separate hardware run under fixed SF10 on the same class of devices (Table 4). (iii) Static replay (fixed-SF12 worst case): the SSS counterfactual of Section 3.3, replaying the adaptive event log under ( S static , D static ) (Table 7).
SSS replay is a timing-policy sensitivity analysis under a frozen event sequence. It is not a substitute for a long-run executed static-SF12 campaign: closed-loop collisions, retry timing, and queue dynamics would differ under an actually executed static policy (Section 3.3). Table 7 is treated as an upper-bound style counterfactual and Table 4 as the executed fixed-configuration reference.
Table 4 summarises the executed fixed-SF10 run. Table 7 contrasts the measured adaptive controller against the SSS replay. Adaptive medians match Table 6. The SF10 reference uses a favourable fixed PHY and 120-byte payloads, so deadlines carry more slack than many adaptive rounds that sweep SF7–SF12; it is not a head-to-head reliability comparison on identical events. The adaptive trace reports ρ = 0.886 (11.4% first-deadline miss rate) with all misses recovered by a single retry.
Table 7. Median latency, 90th percentile latency, and timeout rate for the measured adaptive controller and trace-replayed static SF12 schedule (SSS) over the same 2,514-round event log.
Table 7. Median latency, 90th percentile latency, and timeout rate for the measured adaptive controller and trace-replayed static SF12 schedule (SSS) over the same 2,514-round event log.
Model Median (s) P90 (s) Timeout rate
Static SSS (SF12 replay) 11.3 12.0 5.1%
Adaptive (measured) 3.4 6.4 11.4%
Under the replayed static schedule, each slot assumes worst-case SF12 airtime, so median completion time increases toward the fixed-cycle duration implied by ( S static , D static ) . The lower replay timeout rate reflects that D static is looser than many adaptive per-round deadlines that triggered retries in the measured trace; it should not be read as evidence that static SF12 execution would necessarily yield fewer timeouts on hardware. Consistent with Section 3.3, we interpret Table 7 as a timing-policy sensitivity analysis under identical logged events (different timing rules), not as an executed head-to-head benchmark.

7.3. Timing and Finalisation Sensitivity

Two comparisons use the validation trace and the replay baseline from Section 3.3: static timing rules versus adaptive ( S ( c ) , D ( c ) ) , and quorum versus full-participation finalisation.
Table 7 replaces ( S ( c ) , D ( c ) ) with ( S static , D static ) on the same 2,514-round event log. Relative to the measured adaptive controller, the static-schedule replay increases median completion time from 3.4 s to 11.3 s, isolating sensitivity to the timing rules updated by the MAPE-K loop.
Table 6 conditions on observed participation in the same trace: three-of-four quorum mode has median latency 2.1 s, while full participation has median latency 5.3 s. The gap quantifies the additional wait when all participants must be included, holding the airtime-derived timing model fixed.
The replay baseline changes timing rules while holding the logged event sequence fixed; Table 6 conditions on observed participation rather than enforcing a fixed policy. A full factorial study (static timing × forced finalisation mode) would require additional executed runs or counterfactual logs. Here, the results depicted in Table 7 attribute completion-time sensitivity to removing adaptive timing, and the results depicted in Table 6 attribute the latency component tied to the finalisation policy.

7.4. Analytical Regimes for Timing Adaptation

The adaptive controller improves completion time by reducing conservative margin in the timing rules that govern unused airtime. This yields strong, system-level regime insights directly from the timing model.
From (1), slot spacing decomposes as
S ( c ) = ToA ( c ) + ( t sw + t g ) ,
so timing adaptation changes the dominant term ToA ( c ) when PHY settings vary. A fixed worst-case schedule instead provisions S static using ToA ( c SF 12 ) for every round (3). The resulting sensitivity is governed by the ratio
S static S ( c ) ToA ( c SF 12 ) + t sw + t g ToA ( c ) + t sw + t g ,
which increases when ToA ( c ) is much smaller than the worst-case airtime.
LoRa airtime grows rapidly as data rate decreases (higher spreading factor, lower bandwidth). Adaptation helps most in regimes where (i) the node frequently operates at better-than-worst-case PHY settings (e.g., lower SF or higher BW than the SF12/125 kHz bound used by SSS), and (ii) PHY settings vary across rounds so that a single static schedule would have to provision for the worst case. When the system already runs near the worst-case airtime for extended periods, adaptive timing has limited headroom because ToA ( c ) ToA ( c SF 12 ) .
When ToA ( c ) ( t sw + t g ) , slot time is airtime-dominated and timing adaptation directly translates into shorter slots and deadlines. When ToA ( c ) becomes comparable to fixed overheads ( t sw + t g ) , the marginal benefit of further reducing airtime shrinks because S ( c ) approaches an overhead floor. This predicts diminishing returns for adaptation at high data-rate PHY settings.
Table 6 shows a second, orthogonal regime effect: when one participant is delayed or absent, quorum finalisation avoids waiting for full participation and reduces latency. In rounds where all participants respond promptly, the policy difference collapses and both modes converge toward the same airtime-limited schedule.

7.5. Latency Distribution by Node

Table 8 aggregates latency by node. A Kruskal–Wallis test on per-round samples grouped by node gives H = 2.14 , d f = 3 , p = 0.543 [39]. With overlapping confidence intervals and similar interquartile ranges around a common median near 3.4 s, the test provides no evidence of a meaningful node-specific latency bias under this mix of quorum and full-participation rounds. Figure 3 shows comparable spreads across nodes.
Per-node latency distributions are bimodal across A3–A6, reflecting the system’s dual finalisation policy: faster three-of-four quorum rounds (median 2.1 s) and slower full-participation rounds (median 5.3 s). The interquartile ranges in Table 8 are therefore largely explained by this intentional mixture of execution modes rather than instability or contention.
Whisker lengths remain bounded across nodes, with 90th-percentile latencies below 6.5 s in this trace.

7.6. Latency Cumulative Distribution

To complement the per-node latency spread, we summarise the cumulative distribution of latency over the full set of measured rounds. This view quantifies the proportion of rounds completed within specific latency thresholds and complements the mode breakdown in Table 6. Figure 4 summarises the aggregated distribution.
Figure 4 makes the tail behaviour explicit: most rounds complete within a few seconds, and the remaining probability mass corresponds to full-participation waiting and the bounded retry path.
The resulting CDF summary indicates how quickly rounds finalise across nodes, including both quorum-based and full-participation outcomes. The rise around 5.3–5.5 s aligns with the concentration of full-participation (4/4) rounds (37.1% of rounds), while the remaining mass reflects faster quorum finalisation and recovery cases. Latencies remain bounded in this dataset, with 90% of rounds completing within 6.4 seconds and 95% within 7.16 seconds; the small tail beyond 7 seconds corresponds to rounds that invoke the bounded single-retry path. Together with the results depicted in Table 6, this supports the interpretation that adaptive finalisation yields a consistent mixture of execution modes within the exercised fault model and controlled conditions.

7.7. Correlation Between Metrics

We evaluated Pearson correlations across per-round log vectors (latency to finalisation, deadline-driven retries, gateway Wi-Fi events, and recovery/cleanup counters). Latency shows only weak association with retry-triggering timeouts ( r = 0.11 ), indicating that timeout occurrence alone does not explain the dominant latency variation. The bimodal latency structure arises from the dual-mode finalisation policy (quorum versus full participation), and the bounded recovery design (at most one retry, bounded queue K = 10 ) prevents unbounded backlog-driven delay. Figure 5 visualises the correlation structure.
Figure 5 summarises these relationships: latency correlates primarily with participation-mode and airtime-driven timing effects, while recovery/control-plane events are more strongly coupled among themselves than to end-to-end completion time in this dataset.
Strong correlations are observed among control-plane and recovery-related events, including Wi-Fi connectivity changes and enforced cleanup actions. No strong correlation is observed between latency and these control-plane events in this dataset, which is consistent with recovery activity not dominating end-to-end round completion time under the evaluated conditions.
Latency is primarily driven by timing variance and bounded retry behaviour, while queueing delay and recovery overhead remain negligible in this dataset.

7.8. Timeout Density and Recovery Behaviour

We summarise deadline-miss (timeout) events observed before the bounded single-retry path completes. Timeout events occurred in 287 rounds (11.4%), with all cases recovered via a single retry in this dataset. Figure 6 plots their distribution over the validation window.
Figure 6 shows that deadline misses are episodic rather than persistent, consistent with the design goal of bounded, self-stabilising recovery rather than oscillatory behaviour.
Timeout events are relatively infrequent, occurring in 287 out of 2,514 rounds (11.4%), indicating that the majority of rounds complete within the initial deadline without invoking recovery. All timeout events in this dataset were resolved through the bounded single-retry mechanism, resulting in zero failures due to exhausted retries. This is consistent with the intended role of the retry policy in Algorithm 1: bounded recovery without repeated retransmission.
The observed timeout rate provides a quantitative baseline for the framework’s resilience under the tested conditions. Together with the bounded recovery behaviour, these results demonstrate that transient timing violations are handled predictably and do not cascade into persistent failure or instability.

7.9. Impact of Gateway Connectivity: Wi-Fi Latency vs Timeout

To examine whether opportunistic gateway backhaul coincides with mesh deadline misses, we correlate gateway Wi-Fi latency with timeout occurrence. Coordination safety and liveness do not depend on the gateway (Section 3).
Figure 7. Gateway Wi-Fi latency versus mesh timeout occurrence across the validation window.
Figure 7. Gateway Wi-Fi latency versus mesh timeout occurrence across the validation window.
Preprints 224321 g007
Effect size is small: Wi-Fi latency explains only about 3.2% of timeout variance ( r 2 = 0.032 ; Pearson r = 0.18 ). With n = 2 , 514 , even weak associations can yield p < 0.05 , so statistical significance alone would overstate practical relevance. The association is weak relative to airtime-driven timing effects, consistent with an offline-first design in which the gateway is opportunistic rather than on the critical path for round completion. Mesh airtime and the retry policy dominate timeout behaviour in this dataset.

7.10. Summary

Table 7 provides a conservative upper bound on completion times under worst-case airtime provisioning by replaying the validation event log with a fixed-SF12 static schedule (SSS). In that upper-bound analysis, SSS yields a higher median completion time than the measured adaptive trace, while the adaptive controller maintains the bimodal 2.1 s / 5.3 s behaviour reported in Table 6. The ratio between the replayed SF12 median and the measured adaptive median is reported as a timing-policy sensitivity under identical logged events. Together with the executed fixed-SF10 reference point in Table 4, the evaluation separates measured adaptive behaviour from both (i) executed fixed-configuration operation and (ii) upper-bound replay under worst-case provisioning. Across all 2,514 validation rounds under the evaluated conditions, 62.9% of rounds used quorum finalisation and 37.1% waited for full participation; 88.6% met the first adaptive deadline, 11.4% used one retry, and none exhausted the retry budget. Invariant checks I1–I4 remained clean, Kruskal–Wallis found no node bias ( p = 0.543 ), and Wi-Fi jitter stayed a weak correlate of timeouts ( r 2 = 0.032 ).

8. Discussion

The four-node USB-logged setup shows that a MAPE-K scheduler around a lightweight scheduled quorum path can reduce completion time relative to worst-case SF12 replay provisioning while preserving bounded queue and retry behaviour under crash and omission faults.
Table 7 isolates timing policy by replaying an identical event sequence; it supports a sensitivity claim, not a claim that an executed SF12 static firmware would match the replayed timeout rate. Table 4 reports executed fixed-configuration behaviour under a favourable PHY on identical hardware. Together they separate measured adaptive behaviour from executed fixed-configuration operation and from a conservative replay upper bound.
Read with prior EBS work on offline-first voice and gateway integration [7,8,9], the results motivate treating wait time on the air as a first-class control variable when voice and ledger traffic share a duty cycle. Where gateways buffer finalised summaries or ledger artefacts for later backhaul, confidentiality planning must also account for harvest-now, decrypt-later exposure over the storage interval [40]. Applicable deployment assumptions include: small validator sets (n on the order of the evaluated four-node mesh or modestly larger neighbourhoods), honest participants under crash/omission, opportunistic rather than mandatory gateway backhaul, and acceptance of quorum finalisation when full participation is slow. Outdoor propagation, mobility, untethered clock drift, congestion under dense interference, and Byzantine behaviour remain unvalidated (Section 6.2).
The implementation invariants (I1–I4) and single-retry bound address deterministic cleanup under omissions and crashes. They do not provide Byzantine safety: equivocating nodes, forged vote identifiers, or adversarial scheduling could violate the informal arguments in Section 4.4. Congestion that systematically violates the configured Δ clk envelope is likewise outside the measured regime.
Section 9 summarises expected behaviour beyond n = 4 , including how S ( c ) and D ( c ) scale with validator-set size and duty-cycle constraints.

9. Scalability and Deployment Considerations

The evaluation in this paper uses n = 4 nodes to enable end-to-end instrumentation and controlled fault injection. Unlike many coordination studies that report only simulation-based scalability, this work validates timing, recovery, and invariant behaviour on a deployed prototype with real LoRa airtime and embedded scheduling constraints. The following discussion summarises how the timing model and coordination overhead scale with validator-set size and with practical LPWAN deployment constraints, and how measured four-node results could inform larger-scale simulation or staged field trials.
Under scheduled transmission with n slots slots per round, the deadline in (2) grows approximately linearly with the number of scheduled slots:
D ( c ) = n slots S ( c ) + t lead + t gw + t margin .
In the simplest mapping where n slots n (one transmit opportunity per participant per phase), both round duration and worst-case completion time increase as O ( n S ( c ) ) . Because S ( c ) is dominated by the airtime term ToA ( c ) in low-rate regimes, increasing n at a fixed PHY setting can quickly drive D ( c ) beyond operationally acceptable limits. The adaptive controller mitigates this by tracking the current ToA ( c ) and selecting spacing/deadlines that avoid provisioning every round for a worst-case PHY. However, it does not remove the fundamental linear dependence of scheduled airtime on the number of required transmissions per round.
In unlicensed LPWAN bands, regulatory duty-cycle limits and fair-use constraints bound the feasible number of transmissions per device per hour [29,34]. Increasing n increases aggregate on-air load even when individual nodes transmit infrequently. When the channel is airtime-limited, two effects become dominant: (i) more contention and collisions reduce effective delivery probability, and (ii) deadlines must grow to accommodate longer schedules, which increases application-perceived latency. Practically, larger validator sets benefit from reducing per-round message count (e.g., smaller payloads, fewer phases, or aggregated signatures where feasible) and from structuring coordination so that only a subset of nodes is required to transmit in every round.
For n > 4 , two regimes emerge. In a reliability-dominated regime (higher SF, lower BW), airtime dominates S ( c ) , so both adaptive and static schedules lengthen substantially; in this regime, quorum finalisation is particularly valuable because it avoids waiting for all participants. In a higher-rate regime (lower SF or higher BW), fixed overheads ( t sw + t g and processing time) become a larger fraction of S ( c ) , and the marginal gain from further airtime reductions diminishes, as discussed in Section 7.4. Regardless of regime, larger n increases the probability that at least one node is delayed or temporarily unreachable; therefore, the mixture of quorum versus full-participation rounds is expected to shift toward quorum completion in the absence of strong synchronisation and stable links.
The proposed design is best suited to small-to-moderate validator sets where quorum semantics are acceptable and where per-round scheduling can be kept short relative to application deadlines. For larger meshes, a practical path is hierarchical coordination: use local quorums within neighbourhoods or clusters, then propagate committed summaries across clusters using store-and-forward. This preserves offline-first operation while avoiding O ( n ) on-air coordination at the full network scale.
A staged programme—requiring experiments beyond this paper—could (i) repeat the present instrumentation on eight- or twelve-node indoor meshes to measure growth in D ( c ) and timeout rates, (ii) introduce controlled geographic separation and untethered clocks outdoors, and (iii) feed empirical airtime and participation distributions into discrete-event simulators so larger topologies are explored with parameters grounded in prototype measurements. Simulation remains useful for sweeping policy choices, but the four-node trace provides anchor points for slot spacing, retry rate, and quorum-mode mix that pure simulation studies often lack.
Outdoor propagation and interference, battery budgets, larger validator sets, executed long-run static SF12 baselines, and adversarial Byzantine behaviour are left to future field and adversarial testbeds.

10. Conclusion

We presented a quorum-based coordination framework with adaptive execution timing for low-bitrate LoRa mesh networks. The approach maps runtime LoRa airtime estimates into coordination scheduling variables S ( c ) and D ( c ) through a deterministic MAPE-K loop, dual-mode (quorum and full-participation) finalisation, and bounded recovery with K = 10 and at most one retry, delivered as (a) the airtime-to-timing mapping itself, (b) an embedded node-local MAPE-K loop that updates S ( c ) , D ( c ) , and finalisation policy without adding coordination messages, (c) a bounded recovery architecture with a single active instance and one retry per round, and (d) firmware validation on real hardware. The novelty is closing this airtime-to-timing control loop on constrained nodes, not a new consensus algorithm.
The framework was implemented on a four-node SX1276 LoRa mesh and evaluated across 2,514 coordination rounds under crash and omission faults with honest firmware. Three-of-four quorum finalisation achieved a median completion time of 2.1 s, while full participation achieved 5.3 s; the pooled median (3.4 s) exceeds the naive mass-weighted expectation from the two conditional medians alone, reflecting the small fraction of quorum-mode rounds whose single-retry recovery pushed completion time toward the full-participation range. Across the validation window, 88.6% of rounds completed within the first adaptive deadline and the remainder completed through bounded recovery, with no exhausted retry budgets and no observed invariant violations. Against a replay-derived SF12 static schedule (11.3 s median, an upper-bound timing-policy comparison on the same event log) and an executed SF10 fixed-configuration reference (2.7 s / 5.2 s quorum/full-participation latency), the adaptive controller retains the SF10 baseline’s favourable latency while tracking airtime online rather than fixing it offline. These results apply to the evaluated testbed and fault model.
For EBS-style deployments where voice, ledger anchoring, and mesh coordination share one airtime budget, the practical implication is that treating airtime as a runtime signal rather than a provisioning constant recovers most of the latency headroom of a favourable fixed configuration without committing the link to it in advance.
Future work requires new experiments beyond this manuscript: larger topologies, untethered outdoor timing, power-instrumented energy budgets, executed long-run static SF12 baselines, and adversarial evaluation.

Author Contributions

Conceptualization, F.K. and P.B.; methodology, F.K.; software, F.K.; validation, F.K., P.B., J.B. and R.A.; formal analysis, F.K.; investigation, F.K.; resources, P.B. and R.A.; data curation, F.K.; writing—original draft preparation, F.K.; writing—review and editing, F.K., P.B., J.B. and R.A.; visualization, F.K.; supervision, P.B., J.B. and R.A.; project administration, F.K.; funding acquisition, P.B. and R.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the SmartSat Cooperative Research Centre (CRC), whose activities are funded by the Australian Government’s CRC Program.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are publicly available at https://github.com/f2ka07/adaptive-timing-data/. The repository contains the USB serial traces, processed tables, and analysis scripts for the 2,514-round post-tuning validation window used to generate the figures and tables reported in this manuscript.

Acknowledgments

The authors acknowledge Mark Rice of Safety from Space for expert technical advice and for the provision of technology that supported the experimental work reported in this paper.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
MAPE-K Monitor–Analyse–Plan–Execute–Knowledge
LoRa Long Range (chirp-spread-spectrum radio)
LoRaWAN LoRa Wide Area Network
EBS Emergency Buddy System
EBSC EBS coordination layer (quorum timing firmware)
DTN Delay-Tolerant Networking
PHY Physical layer
MAC Medium Access Control
ToA Time on Air
SSS Static Slot Scheduling (fixed-SF12 timing rules)
SF Spreading Factor
BW Bandwidth
CR Coding Rate
BFT Byzantine Fault Tolerance
MCU Microcontroller Unit
NSM Network and Service Management

References

  1. Beke, T.; Dijk, E.; Ozcelebi, T.; Verhoeven, R. Time synchronization in IoT mesh networks. In Proceedings of the 2020 International Symposium on Networks, Computers and Communications (ISNCC). IEEE, 2020, pp. 1–8. [CrossRef]
  2. Pister, K.; Doherty, L. TSMP: Time Synchronized Mesh Protocol. In Proceedings of the Proceedings of the 20th IASTED International Conference on Parallel and Distributed Computing and Systems, Calgary, AB, Canada, 2008; pp. 391–398.
  3. Li, C.; Cao, Z. Lora networking techniques for large-scale and long-term iot: A down-to-top survey. ACM Comput. Surv. 2022, 55, 1–36. [CrossRef]
  4. Sun, Z.; Yang, H.; Liu, K.; Yin, Z.; Li, Z.; Xu, W. Recent advances in LoRa: A comprehensive survey. ACM Trans. Sens. Netw. 2022, 18, 1–44. [CrossRef]
  5. Reynders, B.; Meert, W.; Pollin, S. Power and Spreading Factor Control in Low Power Wide Area Networks. In Proceedings of the 2017 IEEE International Conference on Communications (ICC), 2017, pp. 1–6. [CrossRef]
  6. Abdelfadeel, K.Q.; Zorbas, D.; Cionca, V.; Pesch, D. FREE—Fine-Grained Scheduling for Reliable and Energy-Efficient Data Collection in LoRaWAN. IEEE Internet Things J. 2020, 7, 669–683. [CrossRef]
  7. Kagai, F.; Branch, P.; But, J.; Allen, R. Voice Over LoRa. In Proceedings of the 2024 International Conference on Information Networking (ICOIN). IEEE, 2024, pp. 526–531. [CrossRef]
  8. Kagai, F.; Branch, P.; But, J.; Allen, R.; Rice, M. Rapidly deployable satellite-based emergency communications infrastructure. IEEE Access 2024, 12, 139368–139410. [CrossRef]
  9. Kagai, F.; Branch, P.; But, J.; Allen, R.; Rice, M. Performance evaluation of low-bitrate voice using spread spectrum techniques for satellite-based emergency communication. Comput. Netw. 2025, p. 111560. [CrossRef]
  10. Kephart, J.O.; Chess, D.M. The Vision of Autonomic Computing. Computer 2003, 36, 41–50. [CrossRef]
  11. Castro, M.; Liskov, B. Practical Byzantine Fault Tolerance. In Proceedings of the Proceedings of the Third USENIX Symposium on Operating Systems Design and Implementation (OSDI ’99). USENIX Association, 1999, pp. 173–186.
  12. Howard, H.; Malkhi, D.; Spiegelman, A. Flexible Paxos: Quorum Intersection Revisited. In Proceedings of the 20th International Conference on Principles of Distributed Systems (OPODIS 2016), 2017, Leibniz International Proceedings in Informatics (LIPIcs). [CrossRef]
  13. Huebscher, M.C.; McCann, J.A. A Survey of Autonomic Computing—Degrees, Models, and Applications. ACM Comput. Surv. 2008. [CrossRef]
  14. Scott, K.; Burleigh, S. Delay-Tolerant Networking Architecture. RFC Editor, 2007. [CrossRef]
  15. Fall, K. A Delay-Tolerant Network Architecture for Challenged Internets. ACM SIGCOMM Comput. Commun. Rev. 2003.
  16. Buchman, E. Tendermint: Byzantine fault tolerance in the age of blockchains. PhD thesis, University of Guelph, 2016.
  17. Yin, M.; Malkhi, D.; Reiter, M.K.; Gueta, G.G.; Abraham, I. HotStuff: BFT consensus with linearity and responsiveness. In Proceedings of the Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing, 2019, pp. 347–356. [CrossRef]
  18. Gilad, Yossi and Hemo, Rotem and Micali, Silvio and Vlachos, Georgios and Zeldovich, Nickolai. Algorand: Scaling byzantine agreements for cryptocurrencies. In Proceedings of the Proceedings of the 26th Symposium on Operating Systems Principles, 2017, pp. 51–68. [CrossRef]
  19. Ailijiang, A.; Charapko, A.; Demirbas, M.; Kosar, T. WPaxos: Wide Area Network Flexible Consensus. IEEE Trans. Parallel Distrib. Syst. 2020, 31, 211–223. [CrossRef]
  20. Dwork, C.; Lynch, N.A.; Stockmeyer, L. Consensus in the Presence of Partial Synchrony. J. ACM 1988, 35, 288–323. [CrossRef]
  21. ETSI. Autonomic network engineering for the self-managing Future Internet (AFI); Generic Autonomic Network Architecture; Part 2: An Architectural Reference Model for Autonomic Networking, Cognitive Networking and Self-Management. Technical Specification ETSI TS 103 195-2 V1.1.1, European Telecommunications Standards Institute, 2018. Available from ETSI (TS 103 195-2 V1.1.1).
  22. Bor, M.C.; Roedig, U.; Voigt, T.; Alonso, J.M. Do LoRa Low-Power Wide-Area Networks Scale? In Proceedings of the Proceedings of the 19th ACM International Conference on Modeling, Analysis and Simulation of Wireless and Mobile Systems (MSWiM), 2016, pp. 59–67. [CrossRef]
  23. Lim, J.; Han, Y. Spreading Factor Allocation for Massive Connections in LoRaWAN Networks. IEEE Commun. Lett. 2020, 24, 1030–1033. [CrossRef]
  24. Bouazizi, Y.; Benkhelifa, F.; ElSawy, H.; McCann, J.A. SF-Adaptive Duty-Cycled LoRa Networks: Scalability, Reliability, and Latency Tradeoffs. IEEE Trans. Commun. 2024, 72, 7852–7867. [CrossRef]
  25. Maurya, P.; Singh, A.; Kherani, A.A. A Review: Spreading Factor Allocation Schemes for LoRaWAN. Telecommun. Syst. 2022, 80, 449–468. [CrossRef]
  26. Shevchuk, R.; Lishchynskyy, I.; Ciura, M.; Lyzun, M.; Kozak, R.; Kasianchuk, M. Application of Blockchain Technology in Emergency Management Systems: A Bibliometric Analysis. Appl. Sci. 2025, 15, 5405. [CrossRef]
  27. Xiao, Y.; Zhang, N.; Lou, W.; Hou, Y.T. A Survey on Distributed Consensus in Blockchain Systems. IEEE Access 2020.
  28. Nguyen, G.T.; Kim, K. Blockchain Meets IoT: A Survey. IEEE Commun. Surv. Tutor. 2019. [CrossRef]
  29. Adelantado, F.; Vilajosana, X.; Tuset-Peiró, P.; Martinez, B.; Melià-Segui, J.; Watteyne, T. Understanding the Limits of LoRaWAN. IEEE Commun. Mag. 2017, 55, 34–40. [CrossRef]
  30. Centenaro, M.; Vangelista, L.; Zanella, A.; Zorzi, M. Long-Range Communications in Unlicensed Bands: The Rising Stars in the IoT and Smart City Scenarios. IEEE Wireless Commun. 2016.
  31. LoRa Alliance Inc.. LoRaWAN FUOTA Process Summary: Technical Recommendation TR002 v1.0.0. LoRa Alliance specification, 2020.
  32. Rodrigues, J.J.; Soares, V.N. An introduction to delay and disruption tolerant networks (DTNs). In Advances in Delay-Tolerant Networks (DTNs) (Second Edition), Second Edition ed.; Rodrigues, J.J., Ed.; Woodhead Publishing Series in Electronic and Optical Materials, Woodhead Publishing, 2021; pp. 1–20. [CrossRef]
  33. Kagai, F.; Branch, P.; But, J.; Allen, R. Offline-First BFT Consensus with Token-Gated Security for Blockchain in Low-Bitrate Mesh Networks. Blockchain: Research and Applications 2026, p. 100514. [CrossRef]
  34. Kjendal, D. LoRa-Alliance regional parameters overview. J. ICT Stand. 2021, 9, 35–46.
  35. Li, L.; Dai, Y. Time synchronization strategy and implementation of LoRa wireless ad hoc network. In Proceedings of the International Conference on Electronic Information Engineering and Computer Technology (EIECT 2021). SPIE, 2021, Vol. 12087, pp. 213–218. [CrossRef]
  36. Driscoll, K.; Hall, B.; Sivencrona, H.; Zumsteg, P. Byzantine fault tolerance, from theory to reality. In Proceedings of the Computer Safety, Reliability and Security: 22nd International Conference, SAFECOMP 2003. Springer, 2003, Vol. 2788, Lecture Notes in Computer Science, pp. 235–248. [CrossRef]
  37. Zhong, W.; Yang, C.; Liang, W.; Cai, J.; Chen, L.; Liao, J.; Xiong, N. Byzantine Fault-Tolerant Consensus Algorithms: A Survey. Electronics 2023, 12. [CrossRef]
  38. Semtech Corporation. SX1276 LoRa Transceiver. Semtech Corporation, 2025.
  39. MacFarland, T.W.; Yates, J.M. Kruskal–Wallis H-test for oneway analysis of variance (ANOVA) by ranks. In Introduction to nonparametric statistics for the biological sciences using R; Springer, 2016; pp. 177–211.
  40. Kagai, F.; Branch, P.; But, J.; Allen, R. Harvest-Now, Decrypt-Later: A Temporal Cybersecurity Risk in the Quantum Transition. Telecom 2025, 6, 100. [CrossRef]
Figure 1. Schematic of the four-node LoRa mesh, opportunistic Wi-Fi/UDP gateway path, and embedded MAPE-K loop on each node. Per-round slot spacing and deadlines are driven by measured airtime rather than fixed offline schedules.
Figure 1. Schematic of the four-node LoRa mesh, opportunistic Wi-Fi/UDP gateway path, and embedded MAPE-K loop on each node. Per-round slot spacing and deadlines are driven by measured airtime rather than fixed offline schedules.
Preprints 224321 g001
Figure 2. Histogram of coordination latency across the 2,514-round validation window, highlighting the mixture of quorum and full-participation rounds.
Figure 2. Histogram of coordination latency across the 2,514-round validation window, highlighting the mixture of quorum and full-participation rounds.
Preprints 224321 g002
Figure 3. Coordination latency by node (box plot) across all 2,514 validation rounds. The spread is consistent with the bimodal mix of quorum versus full-participation finalisation.
Figure 3. Coordination latency by node (box plot) across all 2,514 validation rounds. The spread is consistent with the bimodal mix of quorum versus full-participation finalisation.
Preprints 224321 g003
Figure 4. Cumulative distribution of coordination latency over the 2,514-round validation window (aggregated).
Figure 4. Cumulative distribution of coordination latency over the 2,514-round validation window (aggregated).
Preprints 224321 g004
Figure 5. Correlation matrix over per-round metrics derived from the validation trace.
Figure 5. Correlation matrix over per-round metrics derived from the validation trace.
Preprints 224321 g005
Figure 6. Timeout density over the 2,514-round validation window (287 deadline misses, 11.4%). The vertical scale is restricted so sparse episodic events remain visible. Timeout events are handled by the bounded single-retry mechanism.
Figure 6. Timeout density over the 2,514-round validation window (287 deadline misses, 11.4%). The vertical scale is restricted so sparse episodic events remain visible. Timeout events are handled by the bounded single-retry mechanism.
Preprints 224321 g006
Table 2. Notation Summary
Table 2. Notation Summary
Symbol Definition
n Number of participating nodes
f Quorum-notation parameter (used to relate q to standard quorum expressions); this paper evaluates crash/omission only
q Quorum threshold for quorum-mode finalisation; in our four-node experiments q = 3 (three-of-four)
n slots Transmit slots per vote round counted in D ( c ) and D static ; in the four-node deployment n slots = n = 4
S ( c ) Slot spacing for LoRa config c
D ( c ) Round deadline for config c
K Queue capacity (fixed: 10)
r Retry count (max: 1)
Δ clk Design-time bound on tolerable clock misalignment (configured target < 200  ms; not measured on the USB-instrumented testbed)
ToA ( c ) LoRa time-on-air for the nominal vote payload under config c
ToA sig ( c ) LoRa time-on-air for compact signed control or status frames under c (used for slot interval Δ in Algorithm 2)
W perf Full-participation (4/4) wait window ( 3 Δ )
Table 8. Per-node coordination latency statistics derived from all 2,514 rounds
Table 8. Per-node coordination latency statistics derived from all 2,514 rounds
Node Median 95% CI IQR P90 P95
(s) (s) (s) (s)
A3 3.38 [3.31,3.45] 2.15 6.41 7.15
A4 3.42 [3.35,3.49] 2.18 6.38 7.09
A5 3.35 [3.28,3.42] 2.12 6.45 7.22
A6 3.45 [3.38,3.52] 2.20 6.42 7.18
Overall 3.40 [3.33,3.47] 2.16 6.42 7.16

Authors

Preprints 224321 i001 Francis Kagai received the M.Sc. degree (Distinction) in Computer Science from Staffordshire University, U.K., and the M.B.A. degree (Merit) from the University of Sunderland, U.K. He recently submitted his Ph.D. thesis at Swinburne University of Technology, Australia, under the SmartSat CRC program, where his research focused on resilient and low cost communication architectures for emergency and infrastructure constrained environments. He has more than 15 years of professional and research experience spanning secure communications, cybersecurity, distributed systems, and technology deployment across Africa and Australia. His work has included secure communications advisory, ICT security risk assessment, and the design of resilient digital infrastructure in operational and resource constrained settings. His current research interests include resilient communications, secure distributed systems, satellite enabled connectivity, cloud security, cybersecurity, and Internet of Things systems.
Preprints 224321 i002 Philip Branch received the B.Sc. and M.Tech. degrees from the University of Tasmania and the Ph.D. degree from Monash University. He is currently an Associate Professor in computer systems engineering with the Swinburne University of Technology. He has over 80 refereed publications. His research and teaching interests include network security, wireless networks, the Internet of Things, and machine learning applications. He received the GradCert in Teaching from the Swinburne University of Technology and several industry certifications.
Preprints 224321 i003 Jason But received the B.Eng. degree (Hons.) in electrical engineering and the B.Sc. degree in computer science from the University of Melbourne, Australia, in 1995, and the Ph.D. degree in telecommunications engineering from Monash University, Australia, in 2004. He has held positions with the Centre for Advanced Internet Architectures from 2004 to 2017, and has been with the Internet for Things Research Group since 2017. He is currently an Associate Professor and the Swinburne University of Technology Department Chair. His research interests include the perceived performance of networked applications, QoS and performance evaluation, network protocols, and software-defined networking.
Preprints 224321 i004 Rebecca Allen received the Ph.D. degree in astrophysics. She is currently the Space Technology and Industry Institute Co-Director of the Swinburne University of Technology. Her research interests include studying galaxies’ structural properties and stellar populations to determine their growth rates and how local environments affect their growth mechanisms. She applies her scientific expertise to help support Australia’s growing space industry as the Co-Director of the Space Technology and Industry Institute. She promotes cutting-edge research in areas such as microgravity experimentation and earth observation to build climate change resilient communities and support innovation in space technology. She is the Co-Creator and the Manager of the Swinburne Youth Space Innovation Challenge and SHINE, where she contributes to developing the future space workforce by enabling secondary and university students to send experiments to the International Space Station.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings