Modules
Pure Elixir implementation of the IEC 61850 protocol stack.
Binary and integer conversion helpers for IEC 61850 data types.
Runtime stack configuration accessors and consistency validation.
IEC 61850 GOOSE (Generic Object Oriented Substation Event) frame encoder and publisher.
IEC 61850 GOOSE Ethernet receiver GenServer.
IEC 61850 GOOSE APDU decoder and subscriber filter.
Linux Layer 2 Ethernet (AF_PACKET / SOCK_RAW) transport for GOOSE (0x88B8) and Sampled Values (0x88BA).
Uses Erlang/OTP's :socket module (no C NIF required).
IEC 61850 client control object helper (Direct, SBO, SBOw, Cancel).
IEC 61850 client DataSet container.
IEC 61850 client GOOSE Control Block (GoCB) reader and writer.
IEC 61850 client report parser and data structure.
IEC 61850 client Report Control Block (BRCB/URCB) configuration.
IEC 61850 client Sampled Values Control Block (SvCB) reader and writer.
IEC 61850 client connection API (sync and async ACSI services).
Supervisor-friendly auto-reconnecting IEC 61850 client worker with exponential backoff.
IEC 61850 common types: FunctionalConstraint, Quality, TriggerOptions, Timestamp, Dbpos, and PhyComAddress.
IEC 61850 Server GenServer.
Cleanly delegates MMS transport to MmsServer and IEC 61850 mapping to MmsMapping, Control, Reporting, MmsGoose, MmsSv.
Configuration struct for ExIEC61850.IEC61850.Server.Impl.IedServer.
IEC 61850 server control state machine (Direct, SBO, SBOw, Cancel, CommandTermination).
IEC 61850 server GOOSE control block publishing integration.
IEC 61850 Data Model to MMS Namespace & Setting Group (SGCB) mapping.
IEC 61850 server Sampled Values control block mapping.
IEC 61850 server BRCB/URCB reporting state machine and report dispatcher.
IEC 61850 hierarchical IED data model structs and reference lookup.
Builders for all 36 IEC 61850 Common Data Classes (CDCs).
Parser for .cfg IEC 61850 static model configuration files.
Programmatic builder for IEC 61850 IED data models, DataSets, and Control Blocks.
SCL (.icd/.scd/.cid) XML parser for building IEC 61850 IED models.
In-memory GenServer implementation of ExIEC61850.Logging.LogStorage.
Behaviour for IEC 61850 journal/log storage backends.
ASN.1 BER TLV stream decoder.
ASN.1 BER TLV, OID, boolean, and bit-string encoder.
ASN.1 BER signed and unsigned integer encoder and decoder.
ISO 8650 ACSE (Association Control Service Element) AARQ, AARE, RLRQ, and RLRE codec.
ISO Client Connection layer (TCP/TLS + TPKT + COTP + Session + Presentation + ACSE).
Connection parameters for ISO/MMS TCP, TLS, selector addressing, and ACSE authentication.
ISO 8073 COTP (Connection-Oriented Transport Protocol) CR, CC, and DT codec.
RFC 1006 TPKT TCP framing encoder and decoder.
MMS Client Connection GenServer.
Delegates transport/ISO handshake to IsoClientConnection and PDU codecs to MmsClient* modules.
MMS client file transfer and directory service codec.
MMS client GetNameList service request encoder and response decoder.
MMS client GetVariableAccessAttributes service codec.
MMS client Identify service codec.
MMS client Initiate request encoder and response decoder.
MMS client ReadJournal service codec.
MMS client Named Variable List (DataSet) service codec.
MMS client Read service request encoder and response decoder.
MMS client Status service codec.
MMS client Write service request encoder and response decoder.
Shared MMS confirmed/unconfirmed PDU and AccessResult codecs.
MMS variable type specification representation and BER codec.
MMS data value representation and ASN.1 BER codec.
MMS server Initiate/Association service codec.
MMS server file store and file transfer service codec.
MMS server GetNameList service codec.
MMS server GetVariableAccessAttributes service codec.
MMS server Identify service codec.
MMS server unconfirmed InformationReport encoder.
MMS server ReadJournal service codec.
MMS server Named Variable List (DataSet) service codec.
MMS server Read service request decoder and response encoder.
MMS Server dispatcher sitting on top of IsoServer.
MMS server Status service codec.
MMS server Write service request decoder and response encoder.
ISO 8823 Presentation layer CP, CPA, and User-Data PPDU codec.
Per-client ISO Server Connection handler (TPKT + COTP + Session + Presentation + ACSE).
ISO Server TCP/TLS listener & active IsoConnection registry.
ISO 8327 Session layer Connect, Accept, and Data SPDU codec.
IEC 61850-90-5 R-Session UDP session protocol for R-GOOSE and R-SV.
AES-GCM encryption and HMAC-SHA256 authentication for R-Session SPDUs using Erlang :crypto.
IEC 61850-9-2 Sampled Values (SV) APDU encoder and publisher.
IEC 61850-9-2 Sampled Values (SV) APDU decoder and subscriber.
SNTP (RFC 4330) time synchronization client.
Telemetry instrumentation for ExIEC61850 using :telemetry ~> 1.4.
Mix Tasks
Generates an IEC 61850 .cfg model file from an SCL file.
Generates an Elixir IedModel module from an IEC 61850 SCL file.