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. Meter Access Over TCP/IP (WRAPPER)

Meter access over TCP/IP (WRAPPER)

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 chavar , 16 October, 2017
Forums
General discussion

I am working with an Iskra MT382 with the latest (2.2.12) version of the gurux.dlms.java library. I am using the GXDLMSClient class for programmatic access to the meter. The desktop application GXDLMSDirector works just fine over TCP/IP (WRAPPER) with the meter, while the programmatic access does not work at all. There is no response from the meter.

I have noticed a one-byte difference (3d byte from the end) between the AARQ packet sent by the GXDLMSDirector and the one created by the GXDLMSClient:

GXDLMSDirector: 00010001000100386036a1090607608574050801018a0207808b0760857405080201ac0a80083132333435363738be10040e01000000065f1f0400401e1cffff
GXDLMSCient:
00010001000100386036a1090607608574050801018a0207808b0760857405080201ac0a80083132333435363738be10040e01000000065f1f0400401e1dffff

Profile picture for user Kurumi

Kurumi

8 years 7 months ago

Hi,

Hi,

Your conformance bits are different. It's interesting if this is the reason why your meter is not reply.
Proposed conformance should tell what services client wants to use.

Try to remove Action bit like this.

cl.ProposedConformance &= ~Conformance.Action;

Let me know what happened.

BR,

Mikko

chavar

8 years 7 months ago

Response

The messages are switched in my previous post. The "1d" is from the GXDLMSDirector, the "1c" is from the "GXDLMSClient". So the Action bit was missing instead of not being present. Looking throught the source code for the java library, the constructor for the GXDLMSSettings calls the GXDLMSClient.getInitialConformance method with a false flag. This method is used to set the proposed conformance, and the flag is set for Serial Name referencing.

I changed the default from Serial Name referencing conformance to Logical name referencing conformance and the messages are the same now (the 3rd byte from the end is "1d" for both"). The meter does not respond still.

chavar

8 years 7 months ago

Solved

The problem was with my code. It was in selecting the correct EoP for serial and IP communication.

Profile picture for user Kurumi

Kurumi

8 years 7 months ago

MT382

Hi,

Thanks for let me know from this. I was thinking what it the problem because we are reading MT382 all the time.

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