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. Forums
  3. Did Not Receive Response From TCP Interface Using Gurux.Net

Did not receive response from TCP interface using Gurux.Net

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Bhaumik , 17 September, 2019
Forums
Gurux.Net

Hi,

We are testing Secure meter using Serial and TCP interface respectively.
From the serial interface, we will get the response for the same request multiple times. Whereas from TCP interface we can get the response for the same request for the first time only.

For our testing purpose, we have created one intermediate environment which acts as a server and connected it to the meter via optical port. And we connect TCP from our testing application which acts as a client.

All request payloads are as follow :

Request 1 : 7EA0190341323ABDE6E600C001C100080000010000FF0200601A7E
Response 1 : 7EA01E410352054FE6E700C401C100090C07E30911FF0B1001FF800000BEB27E

Request 2 : 7EA0190341540ABBE6E600C001C100080000010000FF0200601A7E
Request 3 : 7EA0190341761AB9E6E600C001C100080000010000FF0200601A7E

Profile picture for user Kurumi

Kurumi

6 years 9 months ago

Hi,

Hi,

Your data seems to be correct and there is no reason why meter should reply. Check your TCP server code. There is no timestamp so I don't know what it time difference between reads. There is an inactivity timeout and you must read the next packet before it's elapsed.

BR,
Mikko

Bhaumik

6 years 9 months ago

Hi Mikko,

Hi Mikko,

Thanks for your quick reply.
The issue has been resolved now by updating the server side code.

Profile picture for user Kurumi

Kurumi

6 years 9 months ago

Hi Bhaumik,

Hi Bhaumik,

Thanks from this info.
BR,
Mikko

Bhaumik

6 years 8 months ago

Hi Mikko,

Hi Mikko,

As you said, There is an inactivity timeout and you must read the next packet before it's elapsed. In this case, if any event or alert generated from meter after timeout then how this is handled, how to get it at the client-side.

One more question, Is DLMS supports asyncronous communication in TCP/IP interface ?

KhushbuBadheka

6 years 8 months ago

Hi Mikko,

Hi Mikko,

Did you find time to check this?

Regards,

Profile picture for user Kurumi

Kurumi

6 years 8 months ago

Hi Bhaumik,

Hi Bhaumik,

If meter sends event you are receiving data from media.OnReceived. You can get received message using
GXDLMSClient.GetData-method.
GetData(byte[] reply, GXReplyData data, GXReplyData notify)

Received event is saved to notify parameter.

BR,
Mikko

Bhaumik

6 years 8 months ago

Hi Mikko,

Hi Mikko,

Thanks for the update.

In case when the connection is disconnected between DLMS Client running in Head End System (HES) and the DLMS Server running in Meter,

1. If there is any Alert generated at Meter side, how will the Meter send that Alert to HES?
2. Will the Meter initiate a connection with the HES (DLMS client)?
3. Do we need to maintain the continuous connection between the DLMS Client and DLMS Server?
4. Can we connect with Server from HES, only when we need to send some command to read some data from Meter? In that case how the Meter will send Alerts or Events?

Profile picture for user Kurumi

Kurumi

6 years 8 months ago

Hi,

Hi,

It depends on the meter and how it's configured. Sometime connection must be up between the meter and client so client can receive alerts. Some meters are configured to send alerts different TCP/IP address.

You need to verify this from the meter vendor how meter implements it.

If you read something from the meter and meter sends alert at the same time, the received alert is found on the GetData notify parameter. This happens all the time when we are communicating over the air and connection speed is slow.

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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin