pub async fn forwarder_loop(
storage: &'static mut MeshCoreStorage,
public_key: [u8; 32],
t_frame_ms: u32,
duty: &'static DutyLedger,
stats: Option<&'static StatsLedger>,
note_external_load: fn(),
) -> !Expand description
Run the forwarder in storage, built for the identity whose public
key is public_key.
t_frame_ms is the worst-case frame airtime the device node’s MAC
was given, which sizes the busy backoff the same way for both.
note_external_load is the board’s battery-estimator coupling,
called after each completed transmit. stats is the device’s
counter ledger, where a board keeps one.