Iec61850.Session
0.1.0-rc.7
dotnet add package Iec61850.Session --version 0.1.0-rc.7
NuGet\Install-Package Iec61850.Session -Version 0.1.0-rc.7
<PackageReference Include="Iec61850.Session" Version="0.1.0-rc.7" />
<PackageVersion Include="Iec61850.Session" Version="0.1.0-rc.7" />
<PackageReference Include="Iec61850.Session" />
paket add Iec61850.Session --version 0.1.0-rc.7
#r "nuget: Iec61850.Session, 0.1.0-rc.7"
#:package Iec61850.Session@0.1.0-rc.7
#addin nuget:?package=Iec61850.Session&version=0.1.0-rc.7&prerelease
#tool nuget:?package=Iec61850.Session&version=0.1.0-rc.7&prerelease
Iec61850.Session
The OSI session layer used by IEC 61850 MMS, profiled from ISO 8326/8327 to the kernel and duplex functional units required by the stack.
This is an advanced protocol-layer package. Application developers should normally install
Iec61850.ClientorIec61850.Server.
Capabilities
- Encodes and parses CONNECT, ACCEPT, REFUSE, DATA TRANSFER, FINISH, DISCONNECT, and ABORT session SPDUs.
SessionConnectionmanages the session lifecycle over a COTP connection.SessionConnectionOptionsconfigures selectors and negotiation behavior.SpduCodecexposes the session-specific SPDU and parameter encoding.- Typed events and exceptions surface peer release, refusal, and protocol failures.
Session PDUs use their own SPDU encoding; this package intentionally does not depend on ASN.1 BER.
Package relationships
Direct dependency:
Iec61850.Transport.
Direct consumer:
Iec61850.Presentation.
Status and support
This prerelease targets .NET 10 and implements the MMS/IEC 61850 session profile rather than every optional OSI session facility.
Source and documentation · Conformance scope · 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.Transport (>= 0.1.0-rc.7)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Iec61850.Session:
| Package | Downloads |
|---|---|
|
Iec61850.Presentation
Minimal ISO 8823 presentation layer: context negotiation (fixed ACSE/MMS abstract syntaxes) and BER transfer syntax selection. Profiled down to what MMS/61850 actually uses rather than a general-purpose OSI presentation stack. |
|
|
Iec61850.Client
Client / master runtime: association management, service invocation API, report subscription, control sequencing (select-before-operate), reconnection/retry logic. Optionally validates a live discovered model (via GetDirectory/GetDataDirectory) against an SCL-provided expected/offline model (Iec61850.Scl) for configuration-drift detection. |
|
|
Iec61850.Server
Server / IED runtime: association handling, data model hosting, report generation and buffering, control handling, and the hooks the Simulator app uses to drive scenarios. Security-relevant from the start: role/authorization policy for writes/controls/files, connection/request-rate/PDU-size/nesting limits, resource-exhaustion resistance, audit records for control operations. Owns crash/restart recovery policy: which state survives a process restart (buffered reports/EntryIDs, dynamic datasets if supported, file-transfer partial state, configuration/certificate state) versus which does not (control state is normally not resumed blindly) -- see docs/roadmap.md Phase 7. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-rc.7 | 150 | 8/28/2026 |
| 0.1.0-rc.6 | 128 | 8/25/2026 |
| 0.1.0-rc.5 | 144 | 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.