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

IEEE 2030.5 (Smart Energy Profile 2.0) resource codec (DETWS_ENABLE_SEP2). More...

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

Go to the source code of this file.

Detailed Description

IEEE 2030.5 (Smart Energy Profile 2.0) resource codec (DETWS_ENABLE_SEP2).

IEEE 2030.5 (SEP 2.0) is the RESTful smart-grid protocol: a device is a set of HTTP resources encoded as XML in the urn:ieee:std:2030.5:ns namespace. This builds the core resource documents into a caller buffer, so the web server is a 2030.5 server / client over the existing HTTP stack:

  • DeviceCapability - the root: hrefs to the function-set list resources the device offers.
  • EndDevice - a device registration (its sFDI/lFDI identity).
  • DERControl - a Distributed-Energy-Resource control event (interval + a target power factor / real-power setpoint), the payload that curtails or dispatches a DER.

Pure text framing, zero heap, no stdlib, host-testable; values are XML-escaped where they can carry text. The EXI binary encoding + the resource discovery walk layer on top.

Definition in file sep2.h.