Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Dark

Collapse
SHARUR
Community Wiki DLMS/COSEM Tools
Search Sign in
IEC 62056 / DLMS UA 100% Client-Side Local Open Energy Hub

Online DLMS / COSEM Protocol Analyzer & Decoder

Analyze DLMS/COSEM frames online. Decode IEC 62056 HDLC and TCP Wrapper frames, inspect xDLMS APDUs, OBIS objects, ASN.1 structures and protected AES-GCM payload metadata directly in your browser.

Analyze DLMS/COSEM frames online. Decode IEC 62056 HDLC and TCP Wrapper frames, inspect xDLMS APDUs, OBIS objects, ASN.1 structures and protected AES-GCM payload metadata directly in your browser with zero server uploads.

DLMS / COSEM Protocol Analyzer

Hex Input & Framing
0 bytes
DLMS Security Suite 1/2 (AES-GCM) Key Configuration & Verification 100% Client-Side Local

Assembles 12-byte IV from System Title (8B) + Frame Counter (4B) to verify 96-bit GMAC Auth Tag and decrypt via WebCrypto.

Byte Stream Inspector Hover byte / tree node to cross-highlight
Paste hex above to inspect byte stream
Protocol Hierarchy & AST
APDU
No payload parsed
Enter valid hex on the left

Parsed protocol fields, OBIS attributes, and values will appear here.

Protocol Tags: IEC 62056-46 (HDLC) IEC 62056-47 (TCP 4059) IEC 62056-53 (COSEM APDU) IEC 62056-61 (OBIS Codes) IEC 62056-62 (Classes) AES-GCM-128 (Suite 1) HLS 5 GMAC Profile Generic (Load Profile) IEC 62056-21 (Optical Mode E) Gurux DLMS SDK
IEC 62056 & DLMS UA

DLMS / COSEM Protocol Standards & Specifications

Complete architectural breakdown of supported IEC 62056 standards and client-side cryptographic capabilities.

Client-Side AES-GCM Decryption

100% offline WebCrypto AES-GCM-128 (Security Suite 1) decryption. Computes 12-byte IV from 8-byte System Title and 4-byte Frame Counter (Invocation Counter). Authenticates 96-bit GMAC Auth Tag without server exfiltration.

HDLC & TCP-Wrapper Framing

Parses IEC 62056-46 HDLC Type 3 framing (SNRM, UA, DISC, DM, I-Frame, RR, FRMR) with dual CRC-16 (HCS/FCS) calculations and IEC 62056-47 TCP/UDP port 4059 wrapper headers.

COSEM APDU & OBIS Trees

Hierarchical AST parser for xDLMS APDUs (AARQ, AARE, GET, SET, ACTION, Data-Notification) mapping 6-group OBIS codes (IEC 62056-61) and interface class attributes (IEC 62056-62).

Frequently Asked Questions (FAQ)

Common engineering questions regarding DLMS/COSEM framing, APDU parsing, and AES-GCM decryption.

How does the client-side AES-GCM decryption work without uploading keys?

Sharur uses standard browser WebCrypto APIs to perform AES-GCM-128 (Security Suite 1) decryption directly in local browser memory. The 12-byte Initialization Vector (IV) is assembled from the 8-byte System Title and 4-byte Frame Counter (Invocation Counter). Your keys, system title, and meter packets never leave your machine.

Which IEC 62056 standards are supported by this analyzer?

Sharur supports IEC 62056-21 (Optical Mode E), IEC 62056-46 (HDLC Data Link Layer with CRC-16 HCS/FCS), IEC 62056-47 (TCP/UDP 4059 Transport Wrapper), IEC 62056-53 (COSEM APDUs: AARQ, AARE, GET, SET, ACTION, Data-Notification), IEC 62056-61 (OBIS Object Identification System), and IEC 62056-62 (COSEM Interface Classes).

What is the difference between Logical Name (LN) and Short Name (SN) referencing?

Logical Name (LN) referencing uses 6-byte OBIS codes (e.g. 1.0.1.8.0.255) to address meter objects directly, specified in Application Context 2.16.756.5.8.1.1 or 2.16.756.5.8.1.2. Short Name (SN) referencing maps object attributes to 2-byte 16-bit integer offsets, defined in Application Context 2.16.756.5.8.1.3.

How do I ask for help or share captured traces safely with the community?

After dissecting a frame, click 'Ask in Community (with Redaction)'. The workbench automatically generates a sanitized Markdown summary that replaces sensitive meter identifiers and keys with placeholders, ensuring your production telemetry remains private.

Post Question to Community

The snippet below has been sanitized. Key fields and addresses are preserved in structured markdown ready to ask for help on Sharur.

Field Traces

Featured Engineering Scenarios

Click any scenario to load real-world captures and inspect structured protocol trees:

IEC 62056-53 APDU

AARQ Application Association

Inspect Security Suite, System Title (e.g. GURUX123), and Conformance Block negotiation parameters.

COSEM Class 3 / 4

GET-Response Metering Register

Dissect Class 3 (Register) scalar values with Double-Long-Unsigned types and power-of-ten scale factors.

IEC 62056-46 HDLC

HDLC SNRM Connection Frame

Analyze IEC 62056-46 Type 3 framing, HDLC MAC addressing, Control Byte (0x93), and CRC-16 HCS/FCS validation.

Community Discussions

Engineering Discussions

Latest Hot Unanswered
All Discussions

Field traces, edge-case troubleshooting, and engineer Q&A.

Questions, traces, code, and field-tested answers for energy protocol engineers.

Join Discussions
Protocol Tags:

Protocol & Standards Tag Directory

Explore IEC 62056 standards, security suites, OBIS registers, COSEM classes, and physical communication media for instant decoding and community cases.

IEC 62056 Standards & DLMS UA Books

IEC 62056-21 (Optical Mode E) IEC 62056-46 (HDLC Layer) IEC 62056-47 (TCP/UDP 4059) IEC 62056-53 (COSEM APDU) IEC 62056-61 (OBIS System) IEC 62056-62 (Interface Classes) DLMS Blue Book (12th/14th Ed) DLMS Green Book (Architecture)

Security Suites & Cryptographic Protocols

AES-GCM-128 (Suite 1) AES-GCM-256 (Suite 2) HLS 5 GMAC Challenge Invocation Counter (4B) System Title (8-Byte ST) General-Glo-Ciphering (0xDB) Dedicated-Glo-Ciphering (0xCF) LLS Low-Level Security

Core OBIS Registers & Energy Metrics

1.0.32.7.0.255 (L1 Voltage) 1.0.52.7.0.255 (L2 Voltage) 1.0.72.7.0.255 (L3 Voltage) 1.0.31.7.0.255 (L1 Current) 1.0.1.8.0.255 (Active +A Import) 1.0.2.8.0.255 (Active -A Export) 1.0.3.8.0.255 (Reactive +R Q1+Q2) 0.0.1.0.0.255 (Clock RTC) 0.0.96.1.0.255 (Device Serial)

COSEM Interface Classes (IC)

Class 1: Data (0x01) Class 3: Register (0x03) Class 4: Extended Register (0x04) Class 7: Profile Generic (0x07) Class 8: Clock (0x08) Class 15: Association LN/SN (0x0F) Class 18: Image Transfer (OTA FW) Class 70: Disconnect Control (Relay) Class 40: Push Setup (Notification)

Physical Channels, Field Media & SDKs

Optical Probe (300 -> 9600 Baud Mode E) RS-485 2-Wire Multi-Drop Bus G3-PLC (ITU-T G.9903 Powerline) PRIME PLC (ITU-T G.9904) Wi-SUN FAN (IEEE 802.15.4g Wireless Mesh) NB-IoT / LTE-M Cellular Smart Meter Gurux DLMS C# / Python / Java / C Wireshark DLMS Dissector Plugin
Engineering Architecture

Core Engineering Pillars

From packet dissection and standard registries to practical field Q&A.

DLMS / COSEM Protocol Tools

Dedicated deep-dissection workbench with 16-byte hex matrix, ASN.1 AST hierarchy, and automated redaction export.

Open DLMS Analyzer & Tools

Standards & Knowledge Wiki

Curated IEC 62056 standard profiles, Blue Book / Green Book object models, and OBIS logical name directories.

Explore Wiki & Specs

Field Q&A & Community

Share meter communication captures, investigate edge-case protocol bugs, and discuss smart metering architectures.

Join Discussions
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups