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 Java Build Issues

Gurux Java Build Issues

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.

By lakshman , 27 September, 2017
Forums
Gurux DLMS for Java

Hello. Firstly thanks for the library which make my work some easier and i am facing some issues while i was using this library those are

I am unable to build Sample client.Master which was downloaded from here "https://github.com/Gurux/gurux.dlms.java" for Java version. I had gone through your GitHub repo of this project but i wasn't able to build the project Some It is showing some errors called 'Method not found' for Some Variables even i had placed the JAR files called gurux.dlms, gurux.net, gurux.terminal,gurux.common while i was importing project to the eclipse.So Please let me know how to build this project.

When i am sending SNRM request no reply was coming from meter. When i compared the SNRM Request bytes they are sending wrong bytes.

I am facing this issue since from 2 days please help me with this

Profile picture for user Kurumi

Kurumi

8 years 8 months ago

Gurux Java Build Issues

Hi,

Have you add maven to Eclipse? If not, add it or get other projects from GitHub.

What bytes you are sending?

BR,

Mikko

lakshman

8 years 8 months ago

In reply to Gurux Java Build Issues by Kurumi

Gurux Java build issues

I am using Java Client code for android application development. I had placed all the related Jar files in the libs folder still error remains.

These are the bytes sending from GXDLMSDirector 7E A0 07 03 61 93 69 47 7E. I am getting response by sending these bytes. When ever i am sending the SNRM request from my mobile app after setting settings like below
GXDLMSClient gxclient = nenw GXDLMSClinet();
gxclient.setUseLogicalNameReferencing(true);
gxclient.setUseLogicalNameReferencing(true);
gxclient.setClientAddress(16);
gxclient.setServerAddress(1);
gxclient.setAuthentication(Authentication.HIGH);
try {
gxclient.setPassword("1234567890".getBytes("ASCII"));
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
I am not getting any response. By doing the debugging i had known that SNRM request was sending wrong bytes compared to the GXDLMS Director SNRM request bytes
These are the bytes i am getting while calling SNRM request from mobile app
7E A0 07 03 21 93 0F 01 7E

How can i call the SNRM request from mobile app please let me know

Profile picture for user Kurumi

Kurumi

8 years 8 months ago

Gurux Java build issues

Hi,

OK. Now I know the problem. You are using Android.

You need to use Android serial port component to communicate from Android. Androir is not support serial port, so we are communicating directly with USB port. Get Android serial port component from github.

There is also own DLMS component for Android, but that is not open source. Send email to me if you are interested from that.

BR,

Mikko

lakshman

8 years 8 months ago

In reply to Gurux Java build issues by Kurumi

Gurux Java build issues

I am interested in android DLMS can you send me your email address please i'll send you email for android-DLMS serial communication.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • 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
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

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