DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
telemetry.h File Reference

Zero-heap telemetry math helpers (DETWS_ENABLE_TELEMETRY). More...

#include "ServerConfig.h"
#include <stdint.h>

Go to the source code of this file.

Detailed Description

Zero-heap telemetry math helpers (DETWS_ENABLE_TELEMETRY).

Pure-computation building blocks for turning a stream of sensor samples into dashboard figures, alert triggers, and odometer-style totals - no heap, no Arduino dependency, all state in caller-supplied storage or small POD structs, so the whole cluster unit-tests on the host:

  • DetwsWindow moving-window statistics (mean / variance / stddev / min / max) over a caller-provided ring buffer, O(1) mean/variance via running sums.
  • DetwsRate derivative / rate-of-change between successive samples (units per second), for slope alerts.
  • DetwsTotalizer trapezoidal integration of a rate over time (a running total / odometer).
Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file telemetry.h.