Expand description
§rvCSI core
Foundation types for the rvCSI edge RF sensing runtime (ADR-095, ADR-096).
Every CSI source is normalized into a CsiFrame; bounded sequences of
frames become a CsiWindow; semantic interpretations become a
CsiEvent. A CsiSource is the plugin trait every hardware/file/replay
adapter implements. Nothing crosses a language boundary (napi-rs / napi-c)
until validate_frame has run and the frame’s ValidationStatus is
Accepted or Degraded.
This crate is dependency-light (serde + thiserror only) and no_std-clean
in spirit so it can be reused from WASM later.
Structs§
- Adapter
Profile - Capability descriptor for a source — used by validation to bound frames and by health checks to flag unsupported firmware/driver state.
- CsiEvent
- A detected event with confidence and the evidence windows that justify it.
- CsiFrame
- One CSI observation at a timestamp, normalized across all sources.
- CsiWindow
- A bounded window of frames, summarized into per-subcarrier statistics plus scalar motion / presence / quality scores.
- EventId
- Identifies a semantic event.
- FrameId
- Identifies one CSI observation within a capture session.
- IdGenerator
- Monotonic id minter shared by a runtime instance.
- Quality
Score - Computed usability confidence for a frame, in
[0.0, 1.0]. - Session
Id - Identifies a capture session (one source + one runtime config).
- Source
Config - Parameters for opening a source (mirrors the TS SDK
RvCsi.open(...)shape). - Source
Health - Health snapshot for a source (returned by
CsiSource::healthand thervcsi healthCLI /rvcsi_health_reportMCP tool). - Source
Id - Human-readable identifier for a CSI source.
- Validation
Policy - Tunable bounds for the validation pipeline.
- Window
Id - Identifies a bounded window of frames.
Enums§
- Adapter
Kind - Which family of source produced a frame.
- CsiEvent
Kind - Kinds of event the runtime emits (ADR-095 FR5).
- Rvcsi
Error - Errors surfaced by the rvCSI core, adapters, DSP and event pipeline.
- Validation
Error - Why a frame was rejected (a hard failure).
- Validation
Status - Outcome of the validation pipeline for a frame.
Traits§
- CsiSource
- The plugin trait every CSI source implements.
Functions§
- validate_
frame - Validate
frameagainstprofileandpolicy, mutating it in place.
Type Aliases§
- Result
- Re-exported result type for the runtime.