Package-level declarations

Types

Link copied to clipboard
class FakeRadioTransport(val identity: TransportIdentity, frames: List<Frame> = emptyList(), val autoHandshake: Boolean = false, val nodeNum: Int = DEFAULT_FAKE_NODE_NUM) : RadioTransport

In-memory, script-driven RadioTransport for testing.

Link copied to clipboard

In-memory storage for testing.

Link copied to clipboard

Provider for in-memory storage.

Link copied to clipboard
class TestClock(initial: Instant = Instant.fromEpochMilliseconds(0)) : Clock

Deterministic Clock for time-sensitive tests.

Functions

Link copied to clipboard
fun FromRadio.toFrame(): Frame

Encode a device-side FromRadio envelope into a wire Frame (4-byte STREAM_API header + protobuf payload), as a real transport would deliver it.