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 wseang , 28 October, 2019

DLMS JAVA - how to execute the command using meter serial number

Forums
Gurux DLMS for Java

I found GuruxDlmsSample has missed out the parameter -n for Meter Serial number, anyone has idea how to add in the command for parameter -n ?

By carlos.reyes , 24 October, 2019

Device reports Read-Write denied

Forums
Gurux DLMS for Java

Hello,

I'm trying to read data from a DLMS device using your sample code and i get the error that appears in the attached image.

Could someone give me a clue on how to solve this problem?

Thanks in advance,
Carlos

By wseang , 22 October, 2019

How to kick start a simpleclient.java

Forums
Gurux DLMS for Java

I have downloaded gurux.dlms.client and uploaded to my Eclipse, however when i try to run the sampleclient.java, it seem not work very well.

Refer to the command line,
if I run GuruxDlmsSample -r SN -c 16 -s 1 -sp COM3 -i
error: Invalid reference option

Found SN should be small cap, then i change to
GuruxDlmsSample -r sn -c 16 -s 1 -sp COM3 -i
error: "For input string: "COM3".

By MrSupe , 21 October, 2019

DLMS Java - communication

Forums
Gurux DLMS for Java

Hello,
i have following communication layout:
- Moxa ETH to Serial converter on meter side
- linux on remote side
I want to use communication without virtual com port. How to set communication parameters?
Peter.

By kumarsoft.parveen , 28 September, 2019

DLMS Meter Communication Using Java

Forums
Gurux DLMS for Java

Dear Sir,
This is parveen from panchkula. i have start a project in DLMS meter reading. My project architecture is following:-

By sakshi , 25 September, 2019

Problem in saving push object list in XML

Forums
Gurux DLMS for Java

Hi,

I am trying to save pushObjectList in xml using save method of GXDLMSPushSetup. But it is giving exception as follows.

java.lang.NullPointerException
at gurux.dlms.objects.GXXmlWriter.appendSpaces(GXXmlWriter.java:110)
at gurux.dlms.objects.GXXmlWriter.writeStartElement(GXXmlWriter.java:131)
at gurux.dlms.objects.GXDLMSPushSetup.save(GXDLMSPushSetup.java:484)
at le.dlms.client.LEDLMSData.readPushSetup(LEDLMSData.java:682)
at le.dlms.client.RunDLMS.main(RunDLMS.java:131)

Please help me to get out of it.

By sakshi , 20 September, 2019

Problem with receiver frame when skip AARQ

Forums
Gurux DLMS for Java

Hi

I am trying to connect meter for PUSH communication. For this i skip AARQ request. Loaded association using xml file. But during read pushSetUp i am getting error of invalid HDLC frame.

Here are logs :

By hernan , 6 September, 2019

Reading LGZ, double trouble

Forums
Gurux DLMS for Java

Hello

While trying to read some obis code from a LGZ meter, two problems

FIRST
With OLD version of Gurux Java to read "1.1.1.8.0.255"

-------- Reading GXDLMSRegister 1.1.1.8.0.255
<- 11:27:00.890 7E A0 19 03 21 76 4F DC E6 E6 00 C0 01 C1 00 03 01 01 01 08 00 FF 02 00 E7 F7 7E
-> 11:27:00.952 7E A0 19 21 03 96 41 9D E6 E7 00 C4 01 C1 00 14 00 00 00 00 00 01 75 5D ED 57 7E

Seems reads OK!... BUT, just other codes fails, example "1.1.1.8.1.255"

By Remith , 6 September, 2019

Secured Connection in Serial Java with Frame Counter

Forums
Gurux DLMS for Java

Hi Mikko,
I am reading new type of L&T meter by setting BlockCipher ,AuthenticationKey
and Frame Counter LN. Its working in GXDLMSDirector.(Please check the
attached image)
But how to set this frame counter in Java application. I am unable to do this
as it accept only long value.
setFrameCounter(final long value).

But I want to set obiscode instead of long value. Old L&T meters are working
without security in java application.

Please explain me the logic.

By Miky , 31 August, 2019

Handling Notifications While Reading

Forums
Gurux DLMS for Java

Hi,

I have some doubts regarding the example for reading a meter and the handling of notifications, in the GXDLMSReader class.

As I can see in the code, it tries to handle notifications:

Pagination

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