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

IEC 61850 MMS (Manufacturing Message Specification) PDU codec (DETWS_ENABLE_MMS). More...

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

Go to the source code of this file.

Detailed Description

IEC 61850 MMS (Manufacturing Message Specification) PDU codec (DETWS_ENABLE_MMS).

MMS (ISO 9506) is the client/server core of IEC 61850: an ACSI object model (logical devices/nodes, data objects, datasets) carried as BER-encoded MMS PDUs over ISO-on-TCP (TPKT + COTP, already shipped as services/cotp) on port 102. This builds the two most-used PDUs:

  • confirmed-request / Read: [A0 { 02 invokeID A4 confirmedServiceRequest { A4 read { A1 variableAccessSpecification { A0 listOfVariable { 30 { A0 objectName { 1A domain-specific { ... }}}}}}}]
    • a request to read one named variable (a Data Object reference like "LD0/GGIO1$ST$Ind1$stVal").
  • confirmed-response / Read data: the response carrying the AccessResult data value.

This is the MMS PDU framing + the Read request/response builders (the variable name passed as a MMS ObjectName VisibleString; the response data as a caller-encoded BER blob). Pure, zero heap, no stdlib, host-testable; TPKT/COTP wrapping + the socket are services/cotp + the transport.

Definition in file mms.h.