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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin