Documentation
How to read a meter, host one, secure an association and build for a microcontroller with dlms-cosem-kit — the DLMS/COSEM stack for Rust.
Browse the guides below or look up individual types in the Rust API reference.
Getting started
Install dlms-cosem-kit, understand what sans-I/O means for your code, and read your first register from a smart meter over TCP.
Cookbook
Rust recipes for dlms-cosem-kit: read a register, open a ciphered association, decrypt a push, read a load profile, host a meter, parse a P1 telegram.
Security
DLMS security suites 0–2, the three protection forms, high level security, invocation counters and replay windows — and the one rule the crate cannot enforce for you.
Services and segmentation
GET, SET, ACTION and ACCESS in dlms-cosem-kit, the batched with-list forms, selective access, and the three segmentation mechanisms that compose rather than substitute.
Transports
HDLC framing, segmentation and the link machine; the TCP/UDP wrapper with stream reassembly; and the P1 customer interface for DSMR and eMUCs telegrams.
Embedded and no_std
Build dlms-cosem-kit for a Cortex-M or RISC-V microcontroller with no allocator, and check the panic-freedom claim yourself in one command.
Hosting a meter
Implement ObjectStore and let the framework handle associations, authentication, access control, protection and segmentation — with an audit trail that records refusals.
Protocol support
Supported services, security mechanisms, transport limits and verification coverage.