Skip to main content
Home
for DLMS smart meters

Main navigation

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

Breadcrumb

  1. Home
  2. Preestablished Connection

Preestablished connection

By edgaras, 25 February, 2026
Forums
DLMSDirector

We tried to follow your description about the pre-established connection:
https://www.gurux.fi/comment/30809#comment-30809

As we understand it, in this mode the meter should continuously send data to the client, and the client should just listen without establishing the connection itself.

A few things are unclear:

Server side (C code example)
How much and what exactly would you recommend changing in the C server example to support pre-established mode?
From what I understand, we need to add specific objects to the server code. Is that correct?
Does the current server implementation already support pre-established mode, or do we need to implement this logic ourselves?
Client side
Which client library/version supports pre-established connections, which example code we should use for this?
Do we need to modify the client code to handle this mode, or will it work with the existing client implementation as long as the server is configured correctly?
Thank you in advance for the clarification.

Profile picture for user Kurumi

Kurumi

4 days 3 hours ago

Hi, You have misunderstood…

Hi,

You have misunderstood this. Pre-established connection means that connection settings are defined, and the client can read/write values from the meter without establishing the connection to the meter.

You need to add objects to the meter.

GuruxDLMSServerExample2 implements Pre-establish connection, Check associationHighGMacPreEstablished association.

All clients are supporing pre-establish connection. You need to set the server system title for the client.
client.ServerSystemTitle = "METER SYSTEM TITLE"

Each meter must have its own unique system title.

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 04/07/2026 - 17:17
    Gurux.DLMS.Python 1.0.197
  • Tue, 04/07/2026 - 15:03
    gurux.dlms.c 9.0.2604.0701
  • Tue, 04/07/2026 - 14:50
    gurux.dlms.java 4.0.91
  • Tue, 04/07/2026 - 14:00
    Gurux.DLMS.Net 9.0.2604.0701
  • Mon, 03/30/2026 - 15:39
    gurux.dlms.c 9.0.2603.3001

New forum topics

  • Issue when reading Itron Type620 meter
  • Handling Unexpected Disconnects
  • DLMS Communication Issue – No Response (L&T Meter via USB Probe)
  • Unable to cast object of type Gurux.DLMS.GXStructure to type Gurux.DLMS.GXArray
  • How to properly invoke KeyAgreement
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin