Iec61850.Server
0.1.0-rc.7
dotnet add package Iec61850.Server --version 0.1.0-rc.7
NuGet\Install-Package Iec61850.Server -Version 0.1.0-rc.7
<PackageReference Include="Iec61850.Server" Version="0.1.0-rc.7" />
<PackageVersion Include="Iec61850.Server" Version="0.1.0-rc.7" />
<PackageReference Include="Iec61850.Server" />
paket add Iec61850.Server --version 0.1.0-rc.7
#r "nuget: Iec61850.Server, 0.1.0-rc.7"
#:package Iec61850.Server@0.1.0-rc.7
#addin nuget:?package=Iec61850.Server&version=0.1.0-rc.7&prerelease
#tool nuget:?package=Iec61850.Server&version=0.1.0-rc.7&prerelease
Iec61850.Server
Consumer-facing IEC 61850 MMS server runtime for building IEDs, simulators, test fixtures, and protocol gateways.
Accept and serve one association
using System.Net;
using Iec61850.Mms;
using Iec61850.Security;
using Iec61850.Server;
using Iec61850.Transport;
var options = new MmsServerOptions
{
VendorName = "Example",
ModelName = "DemoIED",
Revision = "1",
};
using var listener = new CotpListener(
new IPEndPoint(IPAddress.Any, CotpListener.DefaultPort),
new CotpConnectionOptions(),
PlaintextStreamFactory.Instance);
await using CotpConnection transport = await listener.AcceptAsync(cancellationToken);
await using MmsServer server = await MmsServer.AcceptAsync(
transport,
new MmsAssociationOptions(),
options,
cancellationToken);
await server.ServeAsync(cancellationToken);
Use TlsStreamFactory and a deployment-specific certificate policy for TLS
listeners. A production host should accept connections in a bounded loop and
isolate each association lifecycle.
Capabilities
- MMS association acceptance, negotiation, Identify, server/domain directory, Read, Write, dataset, report, control, and file-service handling.
MmsServerOptionsconfigures identity, domains, variables, datasets, report control blocks, control objects, file sandboxing, authorization, audit, diagnostics, request limits, and clock behavior.MmsServerDataModelSeederconverts an SCL-importedIedDataModelinto server options and MMS variables.- Shared report routing supports multiple associations to one logical device.
RC.7 highlights
MmsServerOptions.Domainsand SCL model seeding expose logical devices through GetServerDirectory, including domains without variables.- GetNameList advertises IEC 61850 named variables at the
LN$FCboundary; GetVariableAccessAttributes and Read return matching recursive structures. - Read honors
specificationWithResult, and dataset attributes use the standard named-variable-list response layout. - The advertised MMS service-support bitstring now matches the services the server dispatches.
- A live IEDExplorer session completed association, identity, model discovery, variable and dataset metadata, model reads, initialization, and cyclic polling of the built-in simulator's changing analog value.
Package relationships
This is a public entry package. NuGet resolves the required ACSE, ACSI, MMS, data-model, presentation, session, transport, security, and BER layers transitively.
Status and support
This prerelease targets .NET 10. Hosts must define authorization, certificate, resource-limit, persistence, and audit policies appropriate to their device.
Source and documentation · Protocol limits · Apache-2.0 license
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Iec61850.Acse (>= 0.1.0-rc.7)
- Iec61850.Acsi (>= 0.1.0-rc.7)
- Iec61850.DataModel (>= 0.1.0-rc.7)
- Iec61850.Mms (>= 0.1.0-rc.7)
- Iec61850.Presentation (>= 0.1.0-rc.7)
- Iec61850.Security (>= 0.1.0-rc.7)
- Iec61850.Session (>= 0.1.0-rc.7)
- Iec61850.Transport (>= 0.1.0-rc.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-rc.7 | 119 | 8/28/2026 |
| 0.1.0-rc.6 | 92 | 8/25/2026 |
| 0.1.0-rc.5 | 103 | 8/25/2026 |
Third public prerelease candidate. Implements GetServerDirectory/domain discovery end to end, including SCL-seeded logical devices and continueAfter handling. Corrects MMS BER interoperability found during a live IEDExplorer session: standard Identify/GetNameList/GetVariableAccessAttributes/Read and named-variable-list shapes, service tags, recursive TypeSpecification and structured FC reads, dataset attributes, service advertisement, and separation of BER envelope depth from negotiated MMS data nesting. Adds literal IEDExplorer-shaped regression vectors, server-boundary tests, and fuzz seeds. Live IEDExplorer discovery, initialization, reads, and cyclic polling were verified against the built-in simulator. Setting Group Control, Substitution, and SetFile upload are explicitly excluded from the v1 scope.