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. Gurux DLMS For Java

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.

Description

Questions and comments about<br />
Gurux <b>DLMS/COSEM for Java</b> Protocol Component.

Image
By hajikhan , 10 June, 2023

Stimulator template does not work for secured meter Client 32

Forums
Gurux DLMS for Java

Hi Team,

I tried to read a meter using client 32 and stored the template file. But when I am trying to read from the stimulation it is giving error
TCP/IP connection established.
Jun 10, 2023 1:21:33 AM gurux.dlms.secure.GXSecure decryptAesGcm
SEVERE: Service not allowed. Invocation counter is invalid.
TX: 00 01 00 01 00 20 00 03 D8 02 05
TCP/IP connection closed.

I updated the password and block key according to my requirement. but still facing the above problem.

By zshajarkar , 28 May, 2023

How do I define params for server.example?

Forums
Gurux DLMS for Java

Hi,

I'm new to using Gurux and I'm trying to understand how to properly use the parameters . Specifically, I'm wondering what values I need to add for the parameters and how to ensure that the values I'm using are valid.

For example, how would I interpret the value of -t INFO or -S Com1 or -R ln? I'm not sure what each one represents and how to properly use them.

Thanks in advance

By tbvk , 14 April, 2023

Wrapper command support

Forums
Gurux DLMS for Java

Not sure if you are aware but Clou meters have two Wrapper commands they implement that the Gurux parsePdu decoder for InterfaceType.WRAPPER currently doesn't support.

These are `LOGIN` and `HEARTBEAT`, will support be added for these?

By tbvk , 27 March, 2023

Date parsing error

Forums
Gurux DLMS for Java

So I have been writing code that both will dump all the objects to an XML dump and then later read them back in. So far, it seems like the dumping code runs just fine. In fact, here is the code used for dumping: https://paste.debian.net/1275379/

---

Now, I will provide a link to the generated XML file: (It is too big for pastebin, may I email it to you?)

---

Problem 1:

By nick32 , 22 March, 2023

Parse write command response

Forums
Gurux DLMS for Java

Hi,

I have a question about write method.

How parse the response sent by meter when I want write some object ?

For example, below are two write command sent to meter and these response. Both command response are similar but I don't know what to do with its.

Disconnect charge command:

Code:

GXDLMSDisconnectControl control = new GXDLMSDisconnectControl();

readDataBlock(control.remoteDisconnect(client), replyData);

System.out.println(GXCommon.bytesToHex(replyData.getData().getData()));

By wooreeinfo , 20 March, 2023

Does it support optical port directly?

Forums
Gurux DLMS for Java

Hi Gurux team,

I wonder if the Gurux Library supports optical port directly.
(Especially server side support to connection)

Thanks a lot.

By tbvk , 13 March, 2023

Authentication rejected

Forums
Gurux DLMS for Java

I have just gotten my one kamstrup meter working on GuruDirector, after a long time I realised it was the address to the Invocation counter Id that was giving me an error about "Service exception".

However, I am not sure how to set this in the GuruX java code, my current error is:

---
gurux.dlms.GXDLMSException: Connection is permanently rejected
Authentication failure.
---

Would such an error be solely related to authentication or could it be related to the invocation counter being incorrect/or not found?

By Alexandre , 27 February, 2023

Creating Cosem Object of CompactArray type

Forums
Gurux DLMS for Java

How to create an instance of GXDLMSProfileGeneric of CompactArray type to return a valid PDU.

By tbvk , 21 February, 2023

WRAPPER mode

Forums
Gurux DLMS for Java

Does the GXNet support the WRAPPER mode or must one manually wrap data to be sent over it in the correct WPDU format and then unwrap it before it arrives to GXNet somehow?

Because form looking at the code I don't see a lot of WPDU handling besides a call to setEop() in GXDLMSReader, is that all that is needed? Is the WPDU only 8 bytes?

I've been doing some digging and I am confusd as to what guruX's GXNet leaves to the user to do for WRAPPER mode and what it already (automatically?) does for us.

By wooreeinfo , 21 February, 2023

Encrypt/Decrypt AARE/AARQ Message

Forums
Gurux DLMS for Java

Hi Gurux team,

I'd like to encrypt/decrypt AARE/AARQ message with signed ECDSA certificate.
But I can't find related this.

Would you please let me know how to it works.

Thanks and regards.

Pagination

  • Previous page
  • 8
  • Next page
Gurux DLMS for Java
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501
  • 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

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