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. 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

2 years 9 months 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

2 years 9 months 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

2 years 9 months 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

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin