pub fn simulate_lora(
packets: &[Packet],
opts: LoraSimOptions,
rng_seed: Option<u64>,
) -> LoraSimResultExpand description
Walk a list of packets through a one-way LoRa-style channel. Drops
packets per packet_loss, accumulates latency proportional to size /
bandwidth_bps. Pure simulation — no IO. The optional rng_seed
argument makes the result deterministic for tests.