|
ESPectre SDK 2.8.0-280-gac7af68
Wi-Fi CSI motion sensing for ESP32 firmware
|
Low-frequency counters and radio state used by optional diagnostic surfaces. More...
#include <runtime_snapshot.h>
Public Attributes | |
| int8_t | wifi_rssi_dbm {INT8_MIN} |
| RSSI of the current Wi-Fi association. | |
| uint8_t | wifi_channel {0U} |
| Primary channel of the current Wi-Fi association. | |
| uint64_t | traffic_packets_total {0U} |
| Traffic packets sent or observed by the active traffic source. | |
| uint64_t | csi_callbacks_total {0U} |
| Raw invocations of the ESP-IDF CSI callback. | |
| uint64_t | csi_accepted_total {0U} |
| CSI packets accepted by capture validation, before temporal admission. | |
| uint64_t | csi_admitted_total {0U} |
| CSI packets admitted to the detector's temporal grid. | |
| uint64_t | csi_filtered_total {0U} |
| CSI packets rejected by capture-level validation. | |
| uint64_t | csi_missing_slots_total {0U} |
| Empty temporal detector slots observed before admitted packets. | |
| uint64_t | csi_excess_total {0U} |
| Valid packets dropped because their temporal slot was already occupied. | |
| uint64_t | csi_stale_total {0U} |
| Packets rejected because processing began after the active window. | |
| uint64_t | csi_out_of_order_total {0U} |
| Packets rejected because their timestamp moved backwards. | |
| uint32_t | csi_occupancy_slots {0U} |
| Valid slots in the current detector window. | |
| uint32_t | csi_window_slots {0U} |
| Total slots in the configured detector window. | |
Low-frequency counters and radio state used by optional diagnostic surfaces.
This deliberately stays separate from RuntimeSnapshot: sensing snapshots travel through the hot callback path, while frontends query diagnostics when they already handle a periodic sensing update.
Counters are cumulative and monotonic within a session; pass them through RuntimeDiagnosticsSampler to turn them into rates.
Definition at line 36 of file runtime_snapshot.h.
| int8_t espectre::RuntimeDiagnosticsSnapshot::wifi_rssi_dbm {INT8_MIN} |
RSSI of the current Wi-Fi association.
INT8_MIN when unavailable.
Definition at line 38 of file runtime_snapshot.h.
| uint8_t espectre::RuntimeDiagnosticsSnapshot::wifi_channel {0U} |
Primary channel of the current Wi-Fi association.
Zero when unavailable.
Definition at line 40 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::traffic_packets_total {0U} |
Traffic packets sent or observed by the active traffic source.
Definition at line 42 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::csi_callbacks_total {0U} |
Raw invocations of the ESP-IDF CSI callback.
Definition at line 44 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::csi_accepted_total {0U} |
CSI packets accepted by capture validation, before temporal admission.
Definition at line 46 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::csi_admitted_total {0U} |
CSI packets admitted to the detector's temporal grid.
Definition at line 48 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::csi_filtered_total {0U} |
CSI packets rejected by capture-level validation.
Definition at line 50 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::csi_missing_slots_total {0U} |
Empty temporal detector slots observed before admitted packets.
Definition at line 52 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::csi_excess_total {0U} |
Valid packets dropped because their temporal slot was already occupied.
Definition at line 54 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::csi_stale_total {0U} |
Packets rejected because processing began after the active window.
Definition at line 56 of file runtime_snapshot.h.
| uint64_t espectre::RuntimeDiagnosticsSnapshot::csi_out_of_order_total {0U} |
Packets rejected because their timestamp moved backwards.
Definition at line 58 of file runtime_snapshot.h.
| uint32_t espectre::RuntimeDiagnosticsSnapshot::csi_occupancy_slots {0U} |
Valid slots in the current detector window.
Definition at line 60 of file runtime_snapshot.h.
| uint32_t espectre::RuntimeDiagnosticsSnapshot::csi_window_slots {0U} |
Total slots in the configured detector window.
Definition at line 62 of file runtime_snapshot.h.