ESPectre SDK 2.8.0-280-gac7af68
Wi-Fi CSI motion sensing for ESP32 firmware
Loading...
Searching...
No Matches
espectre::RuntimeDiagnosticsSample Struct Reference

Rate and link diagnostics derived from cumulative runtime counters. More...

#include <runtime_diagnostics.h>

Public Attributes

float traffic_tx_pps {0.0f}
 Traffic packets per second sent or observed by the active traffic source.
float csi_callback_pps {0.0f}
 Raw CSI callbacks per second, before any capture-level validation.
float csi_accepted_pps {0.0f}
 CSI packets per second accepted by capture validation.
float csi_admitted_pps {0.0f}
 CSI packets per second admitted to the detector's temporal grid.
float csi_filtered_pps {0.0f}
 CSI packets per second rejected by capture-level validation.
float csi_missing_slots_pps {0.0f}
 Missing detector slots per second.
float csi_excess_pps {0.0f}
 Same-slot excess drops per second.
float csi_stale_pps {0.0f}
 Stale temporal drops per second.
float csi_out_of_order_pps {0.0f}
 Out-of-order temporal drops per second.
float csi_occupancy_ratio {0.0f}
 Valid-slot occupancy of the active temporal detector window.
int8_t wifi_rssi_dbm {INT8_MIN}
 RSSI of the current association.
uint8_t wifi_channel {0U}
 Primary channel of the current association.

Detailed Description

Rate and link diagnostics derived from cumulative runtime counters.

Produced by RuntimeDiagnosticsSampler, never by the runtime directly: the runtime only exposes monotonic totals, and the rates here are what those totals moved by between two periodic sensing updates.

A zero rate means the counter did not move over the interval, and the first sample after RuntimeDiagnosticsSampler::reset() reports zero rates because it establishes the baseline. The link fields are carried through either way.

Definition at line 31 of file runtime_diagnostics.h.

Member Data Documentation

◆ traffic_tx_pps

float espectre::RuntimeDiagnosticsSample::traffic_tx_pps {0.0f}

Traffic packets per second sent or observed by the active traffic source.

Definition at line 33 of file runtime_diagnostics.h.

◆ csi_callback_pps

float espectre::RuntimeDiagnosticsSample::csi_callback_pps {0.0f}

Raw CSI callbacks per second, before any capture-level validation.

Definition at line 35 of file runtime_diagnostics.h.

◆ csi_accepted_pps

float espectre::RuntimeDiagnosticsSample::csi_accepted_pps {0.0f}

CSI packets per second accepted by capture validation.

Definition at line 37 of file runtime_diagnostics.h.

◆ csi_admitted_pps

float espectre::RuntimeDiagnosticsSample::csi_admitted_pps {0.0f}

CSI packets per second admitted to the detector's temporal grid.

Definition at line 39 of file runtime_diagnostics.h.

◆ csi_filtered_pps

float espectre::RuntimeDiagnosticsSample::csi_filtered_pps {0.0f}

CSI packets per second rejected by capture-level validation.

Definition at line 41 of file runtime_diagnostics.h.

◆ csi_missing_slots_pps

float espectre::RuntimeDiagnosticsSample::csi_missing_slots_pps {0.0f}

Missing detector slots per second.

Definition at line 43 of file runtime_diagnostics.h.

◆ csi_excess_pps

float espectre::RuntimeDiagnosticsSample::csi_excess_pps {0.0f}

Same-slot excess drops per second.

Definition at line 45 of file runtime_diagnostics.h.

◆ csi_stale_pps

float espectre::RuntimeDiagnosticsSample::csi_stale_pps {0.0f}

Stale temporal drops per second.

Definition at line 47 of file runtime_diagnostics.h.

◆ csi_out_of_order_pps

float espectre::RuntimeDiagnosticsSample::csi_out_of_order_pps {0.0f}

Out-of-order temporal drops per second.

Definition at line 49 of file runtime_diagnostics.h.

◆ csi_occupancy_ratio

float espectre::RuntimeDiagnosticsSample::csi_occupancy_ratio {0.0f}

Valid-slot occupancy of the active temporal detector window.

Definition at line 51 of file runtime_diagnostics.h.

◆ wifi_rssi_dbm

int8_t espectre::RuntimeDiagnosticsSample::wifi_rssi_dbm {INT8_MIN}

RSSI of the current association.

INT8_MIN when unavailable.

Definition at line 53 of file runtime_diagnostics.h.

◆ wifi_channel

uint8_t espectre::RuntimeDiagnosticsSample::wifi_channel {0U}

Primary channel of the current association.

Zero when unavailable.

Definition at line 55 of file runtime_diagnostics.h.


The documentation for this struct was generated from the following file: