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

3 months 3 weeks 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

  • 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