EMCL.Framing.Wrapper
0.4.0
See the version list below for details.
dotnet add package EMCL.Framing.Wrapper --version 0.4.0
NuGet\Install-Package EMCL.Framing.Wrapper -Version 0.4.0
<PackageReference Include="EMCL.Framing.Wrapper" Version="0.4.0" />
<PackageVersion Include="EMCL.Framing.Wrapper" Version="0.4.0" />
<PackageReference Include="EMCL.Framing.Wrapper" />
paket add EMCL.Framing.Wrapper --version 0.4.0
#r "nuget: EMCL.Framing.Wrapper, 0.4.0"
#:package EMCL.Framing.Wrapper@0.4.0
#addin nuget:?package=EMCL.Framing.Wrapper&version=0.4.0
#tool nuget:?package=EMCL.Framing.Wrapper&version=0.4.0
EMCL
An extensible DLMS/COSEM library for .NET 10: Logical Name client sessions, a COSEM object model, binary codecs, and independent transport adapters.
Installation
dotnet add package EMCL --prerelease
For reproducible builds, specify the selected published version with --version.
The EMCL package references all library components. Individual components can
also be installed separately:
| Package | Purpose |
|---|---|
| EMCL | Composition of objects, Wrapper/HDLC client channels, and endpoints |
| EMCL.Core | DLMS values, identifiers, descriptors, and extension contracts |
| EMCL.Protocol | A-XDR, ACSE, LN APDUs, block transfer, and pluggable security |
| EMCL.Client | LN associations, GET/SET/ACTION, notifications, and catalog reading |
| EMCL.Objects | COSEM catalog, association import, and local handlers |
| EMCL.Framing.Hdlc | HDLC type 3, CRC, LLC, and segmentation |
| EMCL.Framing.Wrapper | Wrapper v1 |
| EMCL.Transport | TCP, Serial, Stream, and replaceable APDU channels |
Local execution example
using EMCL.Composition;
using EMCL.Core.Objects;
using EMCL.Core.Operations;
using EMCL.Core.Values;
using EMCL.Objects.Definitions;
var device = new EmclBuilder().Build("meter-1");
var register = device.Add(
CosemClassIds.Register, RegisterMembers.Version0,
LogicalName.Parse("1.0.1.8.0.255"));
register.State.Set(RegisterMembers.Attributes.Value,
DlmsValue.Number(DlmsType.UInt32, 12345));
var result = await device.Pipeline.ExecuteAsync(
new(CosemOperationKind.Read, CosemClassIds.Register,
register.LogicalName, RegisterMembers.Attributes.Value),
device.LocalContext);
Console.WriteLine(result.Value!.AsUInt64());
Supported features
- GET/SET/ACTION, selective access, service-specific block transfer, and General Block Transfer.
- Association LN v1/v3: catalog import and streaming
object_listreading. - None, LLS, HLS High, HLS GMAC and HLS Kuznyechik CTR/CMAC. Custom security protocols can implement
ILnSecurityProtocol. - Selectable COSEM, SPODES 4 and preliminary SPODES 5 profiles. The SPODES profiles recognize 26 and 57 exact class versions respectively.
- Confirmed and unconfirmed Push on associated clients or pre-established channels, including Wrapper/UDP.
- Wrapper and HDLC over TCP, Serial, or a custom transport.
- Optional HDLC MAX INFO TX/RX negotiation with asymmetric byte limits and separate proposed, received, and effective diagnostics; receive windows of 1–7 frames and a one-frame transmit window.
- Local Data, Register, Extended Register, Demand Register, Register Activation, Clock, Profile Generic, and Association LN, as well as custom classes.
- Preservation of unknown classes and versions, original DLMS tags, and association rights.
- XML API documentation and separate
.snupkgdebug symbol packages.
Each outgoing HDLC APDU must fit a single negotiated information frame. Serial starts exchanging data at the configured baud rate. Server applications supply the session and connect their device adapters.
EMCL.Transport uses System.IO.Ports. EMCL.Protocol uses BouncyCastle.Cryptography.
License
MIT. Copyright (c) 2026 Alexey Tyapkin. The complete text is in the LICENSE file
inside the package.
| 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
- EMCL.Core (>= 0.4.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EMCL.Framing.Wrapper:
| Package | Downloads |
|---|---|
|
EMCL
Composition and extension entry points for the EMCL DLMS/COSEM library. |
GitHub repositories
This package is not used by any popular GitHub repositories.