Expand description
Std-only simulated radio network and dummy platform components for tests.
This module is intended for development, simulation, and examples. The simulated network types are useful outside unit tests, but the dummy crypto and RNG implementations are deliberately insecure and must not be used for real deployments.
Structs§
- Dummy
Aes - Dummy AES provider used by tests.
- Dummy
Cipher - Dummy XOR-based cipher used by tests.
- Dummy
Clock - Mutable monotonic test clock.
- Dummy
Counter Store - No-op counter store used by tests.
- Dummy
Delay - No-op async delay used only to satisfy the platform bundle in tests.
- Dummy
Identity - Minimal
NodeIdentityimplementation used by tests and simulations. - Dummy
KeyValue Store - No-op key-value store used only to satisfy the platform bundle in tests.
- Dummy
Rng - Deterministic byte-filling RNG used by tests.
- Dummy
Sha - Dummy SHA/HMAC provider used by tests.
- Modeled
Link Profile - Link model used by
ModeledNetworkto derive receive metadata and loss. - Modeled
Network - Shared simulated network with scheduled delivery, jitter, packet loss, and coarse collision modeling.
- Modeled
Radio - Radio implementation backed by a
ModeledNetwork. - Modeled
Test Platform - Platform bundle for the modeled simulated components.
- Simulated
Network - Shared simulated radio topology and frame queues.
- Simulated
Radio - Radio implementation backed by a
SimulatedNetwork. - Test
Platform - Platform bundle for the simulated test components.
Functions§
- make_
modeled_ test_ mac - Create a test MAC coordinator using the modeled simulated components.
- make_
test_ mac - Create a test MAC coordinator using the simulated components.
Type Aliases§
- Modeled
Test Mac - Convenience alias for a
Macinstantiated with the modeled simulated components. - TestMac
- Convenience alias for a
Macinstantiated with the simulated test components.