Crate umsh_hal

Crate umsh_hal 

Source
Expand description

Minimal hardware abstraction traits used by the higher UMSH layers.

This crate is intentionally independent from the rest of the workspace so platform-specific radio or storage backends can depend on it without pulling in the full protocol stack.

Modules§

wall_clock
The device’s wall clock: what time it is, where that came from, and whether it is known at all.

Structs§

EmbassyClock
Monotonic Clock backed by the global embassy-time driver.
NoChannelStore
No-op channel store — use when channel persistence is not needed.
NoCounterStore
No-op counter store — counters restart from zero every boot.
NoKeyValueStore
No-op key-value store — loads find nothing, stores succeed silently. Use when a platform bundle needs the associated type but nothing in the deployment reads cached state back.
NoPeerStore
No-op peer store — use when peer persistence is not needed.
NoPowerControl
No-op power control — use when shutdown is not implemented for the target.
RxInfo
Metadata returned with a received frame.
Snr
Signal-to-noise ratio represented in centibels (0.1 dB units).
TxOptions
Options controlling how a frame is transmitted.

Enums§

CadPolicy
Channel-activity-detection (CAD) policy applied before a transmit.
TxError
Error returned by Radio::transmit.

Traits§

ChannelStore
Persistent channel directory for the node layer.
Clock
Monotonic millisecond clock.
CounterStore
Persistent frame-counter storage.
KeyValueStore
Persistent key-value store used by higher layers for cached state.
PeerStore
Persistent peer directory for the node layer.
PowerControl
Optional power-control hook for higher layers (e.g. the CLI).
Radio
Half-duplex radio abstraction used by the MAC coordinator.