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. 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 vadiraj Revankar, 29 July, 2025

Association through Bluetooth GuruX

Forums
Gurux DLMS for Java

I have successfully established the Bluetooth connection and completed both the SNRM and AARQ stages. However, during the Association View phase, I'm facing an issue where the full HDLC response is not being received consistently. Despite requesting the maximum MTU size of 517, the response often gets truncated.

For example, sometimes the Association View responses complete up to the 9th continuation request, while at other times, it stops at the 3rd or 4th request, resulting in an incomplete frame and a parsing failure.

By Evaldo, 10 July, 2025

Authentication issues (AARQ) with WASION IM300

Forums
Gurux DLMS for Java

Hello,

I’m working on a Java project using the Gurux DLMS library to certify DLMS/COSEM communication with the IM300 meter from WASION.
I’ve managed to establish the physical connection to the meter (via serial/TCP), but I’m facing issues during the authentication process. Specifically, I’m encountering errors in the second step of the communication, during the AARQ request (Application Association Request), where the meter should reply with an AARE (Association Response).

Below are the authentication parameters provided by the manufacturer to assist with configuration:

By mick93, 20 May, 2025

Issue with "ServiceError Initiate Error exception. Service UNSUPPORTED"

Forums
Gurux DLMS for Java

Hi, I managed to create working java code (I mean, without java-related errors, underlining and highlighting), but anything I do ends with "ServiceError Initiate Error exception. Service UNSUPPORTED" error. I tried to use same settings as I used in GXDLMS Director app - I managed to make successful connection from here and read some data with lowest Access level (Public association, without auth or encryption, no keys etc.), cmd line for it looked like that:

By Bela, 16 May, 2025

Push listener example how it works + tcp stream issue

Forums
Gurux DLMS for Java

Hi there,

I have tried the GuruxDlmsPushListenerExample.
When my smart meter mock send a message to the client I have got this on the console:
 

By niralldas8@gmail.com, 17 April, 2025

Wrapper connection in java

Forums
Gurux DLMS for Java

Getting error like this,
C:\Users\COMP\Downloads\gurux.dlms.java-master\gurux.dlms.client.example.java>java -jar target\gurux.dlms.client.example.java-0.0.1-SNAPSHOT.jar -S COM4:115200:8NoneOne -i WRAPPER -c 48 -a High -P ABCDEFGH12345678 -C AuthenticationEncryption -T 4C54434C49454E54 -A 31323334353637383930313233343536 -B 31323334353637383930313233343536 -v 0.0.43.1.3.255 -d India -t Verbose
WARNING: A restricted method in java.lang.System has been called

By PiotrA, 1 April, 2025

GuruX Java Simulator for Landis+Gyr meters

Forums
Gurux DLMS for Java

Hi,

I try to use gurux java simulator to create some Landis+Gyr meters with almost the same specification as real meters using: https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.simulat…

I would like to test if simulated meters are served correctly and if I can actually obtain data (registries, clock, readings etc.) in GXDLMSDirector. I will need it for integration and unit tests of my application.

I encountered 2 problems:

By Bela, 26 March, 2025

Push listener and translate the push message error

Forums
Gurux DLMS for Java

Hi there,

I have a project to read push messages and trying to figure out what is in the message. I have found the gurux translator, and I faced an issue with this.

After the translate, I wanted to parse the given xml but I got this exception:
[Fatal Error] :49:13: The element type "structure" must be terminated by the matching end-tag "</structure>".

By flygfantast, 26 March, 2025

Connecting to Landis+Gyr E650 meter using HDLC_WITH_MODE_E failes in Java but works in GX DLMS Director

Forums
Gurux DLMS for Java

I've been trying to connect to a L+G E650 meter over IP with HDLC_WITH_MODE_E but it failes with "IllegalArgumentException: InterfaceType" in the aarqRequest() call.

When using the GX DLMS Director it works fine.

I've narrowed it down (I think) to getSnMessages in GXDLMS.java.
Checking the .NET project corresponding file GXDLMS.cs I noticed that a check for HdlcWithModeE was missing in the java project.

By Davenzo, 12 February, 2025

Extract Unified XML from multiple answer reading

Forums
Gurux DLMS for Java

Hi,

Currently i am reading a GenericProfile which answers in multiple frames.

When the reading is done the GXReply class contains the full data.

I want to log this data in XML format.

For single frames responses I can use translator.messageToXml

But what can I do in this case, where there are multiple frames as a response?

I tried to use pduToXml and dataToXml on the reply.getData(), the first gives error and the second gives an empty string. Is there a way to do this easily?

Also I need this to work for Block readings.

Thank you.

By Tharun, 4 February, 2025

Issue with Socket Connection After Serial Port Communication and IP Retrieval

Forums
Gurux DLMS for Java

Hello everyone,

I am currently working on a project where I need to retrieve information from a meter using both serial and TCP connections. The process involves reading a meter’s UID via the serial port, then obtaining the meter’s IP address, and finally, querying the meter for its details via a TCP connection.

Here’s the sequence of operations I’m following:

Pagination

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

Hire Us!

Latest Releases

  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201
  • Mon, 12/01/2025 - 13:55
    Gurux.DLMS.Python 1.0.193
  • Thu, 11/13/2025 - 15:23
    Gurux.DLMS.Python 1.0.192
  • Thu, 11/13/2025 - 14:55
    gurux.dlms.java 4.0.84
  • Wed, 10/29/2025 - 08:51
    gurux.dlms.c 9.0.2510.2901

New forum topics

  • Incomplete Firmware Upgrade Process
  • SNRM byte mening
  • P384 Client Certificate incorrect issuer CN
  • Confirmed push service support
  • DLMS Stack hang during Firmware Upgrade
More

Who's new

  • tlavuvu
  • radu
  • amelara
  • stasxol
  • Shaheer Tariq
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin