Skip to main content

Module mesh_sensor

Module mesh_sensor 

Source
Expand description

Mesh sensor topics for LeWM observational frames (WEFT-526).

Registers the three mesh.sensor.v1.* topics on the kernel mesh wire, frames payloads as FrameType::SensorObservation, and indexes every publish onto an append-only ExoChain stand-in (production hosts bridge to crate::chain::ChainManager).

Wire CBOR + Ed25519 signing lives in weftos-sensor-pipeline-wire; this module owns mesh registration + publish/subscribe + chain index without a hard dependency on the wire crate (payload is opaque CBOR bytes).

Structs§

SensorFrameChainIndex
In-memory ExoChain indexer for sensor frames (tests + offline hosts).
SensorFrameIndexEntry
One ExoChain index record for a published sensor frame.
SensorMeshEnvelope
Envelope carried on the mesh wire + local topic bus for one sensor frame.
SensorPublishResult
Result of a sensor publish.
SensorTopicBus
Kernel-side publisher: TopicRouter registration + local fan-out + ExoChain.

Enums§

MeshSensorTopic
Which of the three LeWM sensor topics a frame targets.

Constants§

SENSOR_TOPICS
The three observation topics in stable order (matches wire crate).
TOPIC_CONSENSUS
Conditional consensus stream (mesh.sensor.v1.consensus).
TOPIC_CONTROL
Multi-publisher control stream (mesh.sensor.v1.control).
TOPIC_ENCODED
Primary observation stream (mesh.sensor.v1.encoded).