I'm running gurux.dlms.c on linux but i dont know on which file i should make modifications to change Host name, Port and DLMS settings. Can you please advice?
~/GuruxDLMS.c-master/GuruxDLMSClientExample/bin$ sudo ./gurux.dlms.client.bin -h 192.168.1.17 -p 4062 -c 16 -s 1 -r SN
Connecting to 192.168.1.17:4062
InitializeConnection
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
Data send failed. Try to resend 3/3
SNRMRequest failed Data receive failed.
Data receive failed.
You are right. I was able to make the same error. Everything seems to work with Logical Name referencing, but Short Name referencing is causing an exception in Linux. This seems to work in Windows. I'll let you know as soon as I have more info.
Hi,
Hi,
Add command line parameters
-h YOUR_HOSN_NAME -p YOUR_METER_PORN_NUMBER
BR,
Mikko
Here's the out put of the
Here's the out put of the command:
~/GuruxDLMS.c-master/GuruxDLMSClientExample/bin$ sudo ./gurux.dlms.client.bin -h 192.168.1.17 -p 4062 -c 16 -s 1 -r SN
Connecting to 192.168.1.17:4062
InitializeConnection
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
Data send failed. Try to resend 3/3
SNRMRequest failed Data receive failed.
Data receive failed.
I dont know what's wrong
Hi Meru,
Hi Meru,
I believe that one of your settings is wrong and the meter doesn't reply because of that.
What meter do you try to read?
Try to connect with GXDLMSDirector. After you can establish the connection select the meter and you can see the correct command line parameters.
BR,
Mikko
Hello,
Hello,
I"m using Gurux serverexample on windows pc . I tried another command and here is the result:
sudo ./gurux.dlms.client.bin -h 192.168.1.17 -s 1 -p 4060 -r SN -c 16
Connecting to 192.168.1.17:4060
InitializeConnection
GetAssociationView
-------- Reading Object AssociationShortName 0.0.40.0.0.255
ReadObject failed AssociationShortName 0.0.40.0.0.255:2 Invalid response
munmap_chunk(): invalid pointer
Aborted
Hi,
Hi,
You are right. I was able to make the same error. Everything seems to work with Logical Name referencing, but Short Name referencing is causing an exception in Linux. This seems to work in Windows. I'll let you know as soon as I have more info.
BR,
Mikko
Hi,
Hi,
Thank you for pointing this out. This is now fixed. Get the latest version from GitHub.
BR,
Mikko