ZeqObserver Agent — C / Embedded
Single-file portable C reference implementation for firmware, IoT, and safety-critical contexts: pacemakers (FDA 21 CFR Part 11 + IEC 62304 evidence), infusion pumps, ventilators, microwaves, fridges, aerospace flight computers (DO-178C trace + ARP4754A), industrial SCADA, robotic controllers, network appliances. Build: cc -O2 -pthread zeq-observer.c -lcurl -lcrypto -o zeq-observer. Public C API: zeq_observer_init / observe / flush / shutdown. Background pthread flushes per Zeqond, file-based outbox for offline replay, heartbeat thread for continuous device proof, OpenSSL SHA-256 for state_hash + AES-GCM for phase-locked sealing, libcurl for HTTPS. Designed to be #include-able (extract zeq-observer.h) and embeddable in larger firmware images.
| Endpoint | GET /zeq-observer.c |
| Auth | none |
| Rate limit | static asset |
| Category | compute |
Parameters
No parameters.
Returns
Single-file C source. Compile + link against libcurl + libcrypto + pthread. Same JSON wire format as the JS/Python agents.
Example
curl -sS \
"https://zeqsdk.com/zeq-observer.c"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-observer-c.