dlms-cosem-kit

Protocol support

Supported services, security mechanisms, transport limits and verification coverage.

Protocol support

AreaSupported
AssociationsLogical-name referencing, optional short-name referencing, LLS and HLS-GMAC
ServicesGET, SET, ACTION, ACCESS, selective access, service blocks, general block transfer and push notifications
ProfilesCapture-object descriptors, clock and entry selectors, null repetition, shortened rows and delta expansion
Blocking clientOwned reads, reads into caller storage, list reads, scaled registers and method calls
SecuritySymmetric AES-GCM for suites 0–2, global and dedicated keys, key wrap and replay protection
TransportsHDLC, TCP/UDP wrapper framing, blocking TCP and HDLC drivers, DSMR and eMUCs P1 telegrams

Compatibility limits

  • HLS-GMAC is the supported high-level authentication mechanism. Asymmetric key agreement, signing and certificate processing for suites 1 and 2 are outside the supported set.
  • General ciphering supports the identified-key form on receive. Wrapped and agreed key information, general signing and V.44 compression return an error.
  • Short-name reads support block transfer. Short-name writes and batched ACTION parameters must fit the supported request forms. Specify each class's short-name method offset.
  • The host supplies HDLC retransmission timing and push scheduling. Below the blocking drivers it also supplies deadlines; WrapperTransport::set_deadline covers TCP.

Verification

The suite checks published Initiate encodings, NIST cipher vectors, RFC 3394 key-wrap vectors and CRC check values. Integration tests run both engines over in-memory and socket transports. CI also fuzzes decoders, builds embedded targets and checks Cortex-M release objects for panic symbols.

Independent meter interoperability has not been verified. In particular, confirm GBT window acknowledgements and HDLC segmentation against your peer. ACCESS result lists are matched by position, unsigned deltas are increments, and short-name InformationReport timestamps are returned as received octets.