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 abdulhakam , 12 May, 2020

Read and write activity calendar object

Forums
Gurux DLMS for Java

Hello everyone...
I hope you guys are still fine in the middle of this pandemic. Bless you.

I have a problem when trying to read and write activity calendar object.

this is the code that I have been written using gurux.dlms.java version 4.0.4.

By Shruti Singh , 6 May, 2020

How to set Passive Relay Time

Forums
Gurux DLMS for Java

How do I set the values for Activation -date time?
Setting the values for lockout period , auto-connection re-attempts.
Please provide code set for setting the value for passive relay time

By pramodahanya , 5 May, 2020

Retry fails while retriving the Association with the client example

Forums
Gurux DLMS for Java

Dear,
When I try to read the Association with the client example (v4.0.5), If any transmission of any block fails then the example does a retry and we are getting "java.lang.IllegalArgumentException: getUInt16" while processing the retransmitted package.
Log snippet from the example:
TX: 08:16:31.047 00 01 00 01 00 01 00 07 C0 02 C1 00 00 00 1A
Data send failed. Try to resend 1/3
TX: 08:16:34.051 00 01 00 01 00 01 00 07 C0 02 C1 00 00 00 1A
RX: 08:16:34.757 C4 00 01 00 01 00 01 00

By bladyzamosc , 4 May, 2020

Summer/Winter time changing - Prometer readings missing?

Forums
Gurux DLMS for Java

Hi,
I am using exactly 3.1.16 version (3.0.1 same behavior) of the Gurux java library. I am making a call to get data from the meter in a time transition period = 27th October 2019 (transition summer to winter)

dlms.readRowsByRange(pg, start, end)
where:
Calendar start= Calendar.getInstance();
start.set(2019,9,27,0,0, 0);
java.util.Calendar end = java.util.Calendar.getInstance();
end.set(2019,9,27,4,0, 0);

By abdulhakam , 21 April, 2020

invalid HDLC frame while reading profile generic object

Forums
Gurux DLMS for Java

Hello everyone...
I hope you guys are still fine in the middle of this pandemic.

I have a problem when trying to read profile generic object.
this is the code that I have been written

GXDLMSProfileGeneric profileGeneric = new GXDLMSProfileGeneric("0.0.99.1.0.255");
profileGeneric.setDescription("Load Profile");
profileGeneric.setObjectType(ObjectType.PROFILE_GENERIC);
read(profileGeneric, 3);
read(profileGeneric, 2);

By bartoszszczepanik , 8 April, 2020

Image transfer identification

Forums
Gurux DLMS for Java

Hello

In example client code for performing firmware update i can see line:
readDataBlock(Client, Media, target.imageTransferInitiate(Client, Identification, data.length), reply);
and the Identification variable puzzles me. is it hex signature of a file ? propably manufacturer specific, are there any general guidlines how to find it ?

By kabbott , 8 April, 2020

precompiled jar file for gurux dlms java

Forums
Gurux DLMS for Java

Hello,

Does anyone have a precompiled jar file for gurux-dlms-java?
While testing, I would prefer not to go through the pain of installing eclipse and maven and the entire java eco system.

Let me know at [email removed by Administrator]

BTW, I think that I see some cyclic dependencies between the java packages.

Alternatively, instead of providing a jar file, could we add a makefile or a make.sh script which will create the jar file?

Cheers,
Kirk

By priyankapatil , 3 April, 2020

gurux.dlms.client.example.java - How to read Voltage,current etc

Forums
Gurux DLMS for Java

Hi Mikko,

I am trying to use gurux.dlms.client.example.java for reading DLMS electric meter.
I am running jar in command prompt using below command:

gurux.dlms.client.example.java\target>java -jar gurux.dlms.client.example.java-0.0.1-SNAPSHOT
.jar -S com3 -c 10 -s 1 -a none

below is trace.txt :

By utkarsh , 30 March, 2020

Decrypt DLMS Messages

Forums
Gurux DLMS for Java

Hi Mikko,

By bladyzamosc , 29 March, 2020

LZQJ + Moxa + GSM call

Forums
Gurux DLMS for Java

Hi,
I am trying to connect to the meter via the Moxa modem dialing the concrete phone number. Unfortunately, I have no idea how I can proceed with the Gurux library. I am not even convinced it will be possible.
I saw the following topic, which in my opinion was the closest to my problem:
https://www.gurux.fi/node/6759

Pagination

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