constexpr SelectedSubcarriers make_default_subcarriers()
std::array< uint8_t, HT20_SELECTED_BAND_SIZE > SelectedSubcarriers
constexpr float RUNTIME_SEGMENTATION_THRESHOLD_DEFAULT
MotionState
Debounced detector state.
RuntimeSubcarrierSource
How the runtime chose the subcarriers it measures on.
@ FIXED_DEFAULT
The fixed band validated for the shipped detectors.
The schema behind RuntimeConfig: enums, defaults, and valid ranges.
Low-frequency counters and radio state used by optional diagnostic surfaces.
uint32_t csi_window_slots
Total slots in the configured detector window.
uint64_t csi_stale_total
Packets rejected because processing began after the active window.
uint64_t csi_accepted_total
CSI packets accepted by capture validation, before temporal admission.
uint64_t csi_callbacks_total
Raw invocations of the ESP-IDF CSI callback.
uint64_t csi_excess_total
Valid packets dropped because their temporal slot was already occupied.
uint32_t csi_occupancy_slots
Valid slots in the current detector window.
uint64_t traffic_packets_total
Traffic packets sent or observed by the active traffic source.
uint8_t wifi_channel
Primary channel of the current Wi-Fi association.
uint64_t csi_filtered_total
CSI packets rejected by capture-level validation.
uint64_t csi_out_of_order_total
Packets rejected because their timestamp moved backwards.
uint64_t csi_missing_slots_total
Empty temporal detector slots observed before admitted packets.
uint64_t csi_admitted_total
CSI packets admitted to the detector's temporal grid.
int8_t wifi_rssi_dbm
RSSI of the current Wi-Fi association.
A consistent view of the sensing state at one instant.
uint32_t calibration_packets
Packets observed by the current Lightweight startup calibrator.
float startup_threshold
Threshold startup calibration settled on.
MotionState motion_state
Debounced motion state, after the motion_on_hits / motion_off_hits filter.
uint8_t link_channel
Wi-Fi channel those packets arrived on.
bool ready_to_publish
The runtime is calibrated, linked, and its output is safe to act on.
int8_t link_rssi_dbm
RSSI of the packets behind this metric.
float movement_metric
Current motion metric, on a 0..1 probability scale for both detectors.
uint16_t calibration_target_packets
Packet budget for the current Lightweight startup calibrator.
bool calibrating
Startup calibration is running; detection results are not valid yet.
const char * detector_name
Active detector label: "lightweight", "high_accuracy", or "stream" under RuntimeProfile::STREAM.
RuntimeSubcarrierSource subcarrier_source
How fixed_subcarriers was chosen.
float threshold
Threshold movement_metric is compared against, on the same scale.
SelectedSubcarriers fixed_subcarriers
Subcarrier indices the detector is measuring on.