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
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
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.
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
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
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
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.