I have some difficulty using the gurux library. I have a meter from Ivy Metering Co., Ltd. The meter has a GPRS module, in which a card with a static ip address is installed. I have certain configurations from the manufacturer:
- ClientAddress = 10;
- Server Address = 10;
- Authentication.Low
- Password
From the start I tried to use Gurux DLMS Director with these configurations but got the following "Connection refused" error.
Then I decided to use Gurux.DLMS.Meter.Listener.Net, specifying all the parameters, I started receiving push notifications from meter and found that it sends other ClientAddress and ServerAddress values, they were equal to 1. Then I tried to replace the current value of 10 with 1 and it turned out to be authenticated. And get the following values:
after that I got stuck, I tried different parameters but only with these "GXDLMSClient (true, 1, 1, Enums.Authentication.Low," 13456789 ", Enums.InterfaceType.WRAPPER)" I was able to get authenticated. If you have any idea why I am getting this "Access Error: Device reports Read-Write denied." I'll be very grateful.
i tried your configs and got the following response.
Send AARQ request
TX: 10:31:29 00 01 00 10 00 01 00 1F 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF
RX: 10:31:30 00 01 00 01 00 01 00 21
Disconnecting from the meter.
Destination addresses do not match. It is 1. It should be 16.
It might be that they haven't implemented the association view. Can you try to add the clock object manually?
Use original settings. Then select "Add Object" from "Edit" menu. Select Clock and set 0.0.1.0.0.255 to logical name. Establish the connection and try to read the clock object. If you can read it you need to ask the list of objects that the meter implements.
at the current stage I was able to advance only when I used Gurux.DLMS.Meter.Listener.Net
when i use GXDLMSDirector, i cant even connect to the meter, i use almost the same parametrs like in GXDLMSClient(true, 0x01, 0x01, Enums.Authentication.Low, "13456789",Enums.InterfaceType.WRAPPER)
when host is open, i try to connect with GXDLMSDirector, but then i got next message "the destination computer rejected the connection request"
The server (or client) address might be different when the connection is established to the meter (GXDLMSDirector) or when the meter establishes the connection to the server (Gurux.DLMS.Meter.Listener.Net).
You need to use a different server address when you connect to the meter with GXDLMSDirector. Server and client addresses are not defined in standards. You need to ask the meter manufacturer what values you need to use.
Hi,
Hi,
Change your client and server address like this:
GXDLMSClient (true, 10, 10, Enums.Authentication.Low,"13456789", Enums.InterfaceType.WRAPPER);
I don't know are the client and server addresses in hex format, but I believe that your client address is wrong.
BR,
Mikko
Thanks for the quick answer,
Thanks for the quick answer, I have already tried connecting with such parameters and the answer was as follows:
Client is connected.
Send AARQ request
TX: 18:25:44 00 01 00 0A 00 0A 00 38 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 31 33 34 35 36 37 38 39 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF
RX: 18:25:45 00 01 00 01 00 01 00 2B
Disconnecting from the meter.
Source addresses do not match. It is 1. It should be 10.
Hi,
Hi,
Can you connect with the public client? Like this:
GXDLMSClient (true, 0x10, 0x1, Enums.Authentication.None, null, Enums.InterfaceType.WRAPPER);
BR,
Mikko
i tried your configs and got
i tried your configs and got the following response.
Send AARQ request
TX: 10:31:29 00 01 00 10 00 01 00 1F 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF
RX: 10:31:30 00 01 00 01 00 01 00 21
Disconnecting from the meter.
Destination addresses do not match. It is 1. It should be 16.
I tried different
I tried different configurations, but as I wrote above, I achieved the greatest result with these parameters.
GXDLMSClient(true, 0x01, 0x01, Enums.Authentication.Low, "13456789",Enums.InterfaceType.WRAPPER)
but i catch this error
Access Error: Device reports Read-Write denied.
so i think clientAddress and serverAddress is right, how i understand this error can be only if we pass authentication, right?
Hi,
Hi,
It might be that they haven't implemented the association view. Can you try to add the clock object manually?
Use original settings. Then select "Add Object" from "Edit" menu. Select Clock and set 0.0.1.0.0.255 to logical name. Establish the connection and try to read the clock object. If you can read it you need to ask the list of objects that the meter implements.
BR,
Mikko
at the current stage I was
at the current stage I was able to advance only when I used Gurux.DLMS.Meter.Listener.Net
when i use GXDLMSDirector, i cant even connect to the meter, i use almost the same parametrs like in GXDLMSClient(true, 0x01, 0x01, Enums.Authentication.Low, "13456789",Enums.InterfaceType.WRAPPER)
when host is open, i try to connect with GXDLMSDirector, but then i got next message "the destination computer rejected the connection request"
Thats why i cant recieve only
Thats why i cant recieve only Clock parametr
these are the standards that
these are the standards that my meter supports
Hi,
Hi,
The server (or client) address might be different when the connection is established to the meter (GXDLMSDirector) or when the meter establishes the connection to the server (Gurux.DLMS.Meter.Listener.Net).
You need to use a different server address when you connect to the meter with GXDLMSDirector. Server and client addresses are not defined in standards. You need to ask the meter manufacturer what values you need to use.
BR,
Mikko