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 naveenChinnasamy , 14 May, 2021

Authentication & encryption Key Updation using master key

Forums
Gurux DLMS for Java

Hi Team,

I have to update authentication key & encryption key in smart meter. I were able to do it using gurux dlms director using update key option.

From code I was not able to do it. Below is the code snippet which i have used. Do global key transfer method does not apply key automatically. Can I please get correct code snippet to update the key

By csulb , 4 May, 2021

java gurux server fails to respond with ipv6

Forums
Gurux DLMS for Java

Hello

I have a gurux server based on the example 2, I'm using the python gurux library in order to query it, it works flawlessly when I'm using ipv4 but as soon as I try to query the server using ipv6 I get this error on the server side "java.io.IOException: Invalid argument (sendto failed)"
Is there something specific to be able to have a server use ipv6 ? Did I miss something ?

By enemy235 , 19 April, 2021

GXPkcs10 to certificate + SS1/2

Forums
Gurux DLMS for Java

Hi, I just started exploring higher levels of security. At the moment I'm trying to use HLS with ECDSA.

Client is using java library and server is based on gxsimulator.

In my approach below I have only one problem with signing CSR for meter.

By enemy235 , 6 April, 2021

ClassCastEception with ReadList

Forums
Gurux DLMS for Java

Hi,
I'm having trouble when reading some objects in List. Server is based on gxsimulator.
All attributes can be read alone, but when in list, I got:

class [B cannot be cast to class java.lang.Number ([B and java.lang.Number are in module java.base of loader 'bootstrap')
gurux.dlms.objects.GXDLMSDemandRegister.setValue(GXDLMSDemandRegister.java:578)
gurux.dlms.GXDLMSClient.updateValues(GXDLMSClient.java:1510)
cz.vutbr.client.reader.MyReader.readMyList(MyReader.java:839)

By Mithun Tiruvedula , 1 April, 2021

How to write data to meter?

Forums
Gurux DLMS for Java

Hi all,

By teddy Jim , 21 March, 2021

RX packet loss

Forums
Gurux DLMS for Java

Hello!

There was a problem while I was using Gurux.java.
When running in a Linux environment, the following RX packet loss.

1)Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 17:09:44.175 A0 21 23 02 6B 73 5F C3 81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01 CE 6A 7E
java.lang.Exception: Failed to receive reply from the device in given time.

By Mithun Tiruvedula , 19 March, 2021

How to receive data/event notifications in gurux.dlms JAVA

Forums
Gurux DLMS for Java

Hi all,

I'm relatively new to DLMS and associated development. I'm trying to build a Tridium Niagara driver for DLMS. I am using the latest JARS of all libs
gurux.dlms/4.0.24
gurux.net/1.0.21
gurux.common/1.0.17

I went through the code samples given on the page https://www.gurux.fi/Gurux.DLMS.Notify#Java, however was unable to understand where the socket open and related functionality is being implemented for listening to data/event notifications.

By Mithun Tiruvedula , 11 March, 2021

Unable to Read data.

Forums
Gurux DLMS for Java

Hi all,

By Remith , 4 March, 2021

Invalid Command for L&T meter - Java RS232

Forums
Gurux DLMS for Java

Hi,
I am facing issue with reading/writing L&T meter. After authentication, for any requests, its giving Invalid Command exception. Everything working in GXDLMSDirector.

Just for example - Relay Disconnection

GXDLMSDisconnectControl relay = new GXDLMSDisconnectControl("0.0.96.3.10.255");
byte[][] data = relay.remoteDisconnect(com.dlms);
GXReplyData reply = new GXReplyData();
com.readDataBlock(data, reply);

java.lang.IllegalArgumentException: Invalid Command.

By Mithun Tiruvedula , 27 February, 2021

How to get attribute description as in

Forums
Gurux DLMS for Java

Hi all,

I'm relatively new to DLMS and associated development. I'm trying to build a Tridium Niagara driver for DLMS.
I was able to run the server from https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.server… , and am using the code from https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.client… to read data.

Pagination

  • Previous page
  • 18
  • 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