-
Notifications
You must be signed in to change notification settings - Fork 2
Glossary
GiZano edited this page Aug 31, 2026
·
3 revisions
- Anti-Replay Attack: A security mechanism that validates the timestamp of an incoming telemetry packet. QuakeGuard enforces a strict 300-second window (403 on stale) to prevent replay of old earthquake signals.
-
Dead Letter Queue (DLQ): Redis Stream
readings:dlq(ingest) and Listai_report_queue_dlq(AI) receiving poisoned jobs that fail unrecoverably. -
DeliveryPath: Enum in
SerialFallback.h(MQTT,SERIAL_CDC,RETAIN) — pure routing decision ofdecidePath(mqttReachable, usbHostPresent, timeValid), shared by firmware and host tests. - DSP (Digital Signal Processing): Manipulation of analog information in digital form. On the ESP32, HPF filtering of ADXL345 readings to remove gravity.
-
ECDSA (Elliptic Curve Digital Signature Algorithm): NIST P-256 (
secp256r1) viambedtls, used to prove sensor identity; identical on MQTT and serial planes, re-signed on drain. -
EmergencyReport: Persisted state-machine
PENDING → COMPLETED | FAILEDfor AI reports (see AI Emergency Report Service). -
Geohash Zone Index: Redis fast-path
zoneindex:<geohash>(prec 3) forresolve_zone, fallback to PostGISST_Containsordered byST_Area. -
NVS (Non-Volatile Storage): ESP32 flash storing private key,
sensor_id(quake-config), and last-known GNSS fix (quake-gnss). -
Offline Wall Clock: Software clock
epochAtSync + millis()anchored at first NTP sync, valid after WiFi drops; no frame emitted beforetimeValid. - Ollama: Self-hosted LLM runtime for on-premise emergency reports (v1.2.0).
-
PGA (Peak Ground Acceleration): Measure used to estimate magnitude via
M = log10(PGA*1.6)+3.0. -
PostGIS: Spatial extender for PostgreSQL;
ST_Containssource of truth for zone assignment. -
RetentionRing: Bounded FIFO
RetentionRing<100>inSerialFallback.h, overwrites oldest on overflow; drained on path recovery. -
SerialFallback / [QG:FB]: Zero-Trust USB CDC fallback framing
SerialFallback.h([QG:FB]{...}), host bridgeserial_bridge.py. - STA/LTA (Short-Term Average / Long-Term Average): Industry-standard trigger comparing 1 s STA vs 10 s LTA; ratio >1.8 triggers.
- Thundering Herd Problem: Massive synchronous spike from many sensors during a swarm; mitigated via Redis Streams decoupling and per-area cooldown.
- Zero-Trust: All devices continuously validated (ECDSA, API key, anti-replay).
- Back to: Home