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

ICCP / TASE.2 (IEC 60870-6) inter-control-center telemetry codec (DETWS_ENABLE_ICCP). More...

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

Go to the source code of this file.

Detailed Description

ICCP / TASE.2 (IEC 60870-6) inter-control-center telemetry codec (DETWS_ENABLE_ICCP).

ICCP (TASE.2, IEC 60870-6) exchanges real-time power-grid telemetry between control centers. It is an application profile on top of MMS (the shipped services/mms): a TASE.2 "indication point" (a data value with quality + timestamp) is transferred as an MMS Read on a named object. This codec builds the TASE.2 data value - the standard Data_Value structure a Read carries:

Data_Value ::= SEQUENCE { value CHOICE {state/discrete/real/...}, flags DataFlags, timestamp }

simplified here to the common StateQ (a discrete state 0..3 + a quality-flags byte) and RealQ (an IEEE-754-ish scaled real + quality) indication points that most bilateral tables use. The result is a BER blob the caller wraps in an MMS Read response (detws_mms_read_response). Pure, zero heap, no stdlib, host-testable; the TASE.2 bilateral-table + MMS transport are the shipped services.

Definition in file iccp.h.