Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. Meter Protocol Release Over IP Connection

Meter Protocol Release over IP connection

By FredC , 25 August, 2023
Forums
General discussion

Newbie here, "Hello"

In HDLC Mode protocol disconnect from meter looks something like this:

HDLC Flag: 7E Frame format: A0 Frame length: 07 Dest and Source addresses: 0303 Control field: 53 HCS: 80D7
HDLC Info.: FCS: Flag: 7E
SEND: 7E A0 07 03 03 53 80 D7 7E
RECV: 7E A0 20 03 03 73 F0 2E 81 80 14 05 02 00 F8 06
RECV: 02 00 F8 07 04 00 00 00 01 08 04 00 00 00 01 58
RECV: 71 7E

How do you protocol disconnect in IP mode from meter? (not TCP disconnect)

Thxs,

Fred

Profile picture for user Kurumi

Kurumi

3 years ago

Hi Fred, You need to call…

Hi Fred,

You need to call release to close the connection in WRAPPER mode.
You need to call client.release.

BR,
Mikko

FredC

3 years ago

Thanks Mikko, What would the…

Thanks Mikko,

What would the byte structure look like for the above example, with Dest and Source addresses: 0303?

Profile picture for user Kurumi

Kurumi

3 years ago

Hi, Destination and source…

Hi,

Destination and source addresses are 1 and 1, not 3.
WRAPPER looks like this:

00 01 00 01 00 01 00 05 63 03 80 01 00

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin