Gurux Listen Service Issue

3 posts / 0 new
Last post
keenangeorge
Gurux Listen Service Issue

Hi Gurux

When initializing a connection with Listening Service on Hexing meter i set the parameters to the following.

Client.UseLogicalNameReferencing = true;
Client.Authentication = Authentication.High;
Client.Password = GXDLMSTranslator.HexToBytes("000000000000");
Client.ServerAddress = 1;
Client.ClientAddress = 1;
Client.InterfaceType = InterfaceType.WRAPPER;

Then i get the following error.

Destination addresses do not match. It is 16. It should be 1.

When i change the settings to:

Client.UseLogicalNameReferencing = true;
Client.Authentication = Authentication.High;
Client.Password = GXDLMSTranslator.HexToBytes("000000000000");
Client.ServerAddress = 1;
Client.ClientAddress = 16;
Client.InterfaceType = InterfaceType.WRAPPER;

I get the following error.

System.Exception: Secure connection is not supported.

Trace

<- 5:32:52 PM 00 01 00 10 00 01 00 40 60 3E A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 0D 0E 13 58 73 5A 48 61 21 18 73 35 61 07 1B 65 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 1D FF FF
-> 5:32:53 PM 00 01 00 01 00 10 00 12 DD 10 00 00 00 00 30 31 34 32 36 34 36 33 31 32 31 30

Regards

kurumi
kurumi's picture
Gurux Listen Service Issue

Hi,

Your meter is using ciphering (secured connection). You must use GXDLMSSecureClient instead of GXDLMSClient and set correct secured values.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org

keenangeorge
Gurux Listen Service Issue

Thanks Mikko

GXDLMSSecureClient Client = new GXDLMSSecureClient(true, 0x10, 1, Authentication.High, null, InterfaceType.WRAPPER);
Client.Password = GXDLMSTranslator.HexToBytes("00000000");

Now i get the below error

8/1/2017 4:45:29 PM System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: cryptedData

<- 4:48:00 PM 00 01 00 10 00 01 00 40 60 3E A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 4A 64 28 33 39 33 2C 3A 66 71 23 75 3D 47 23 6B BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 1D FF FF
-> 4:48:02 PM 00 01 00 01 00 10 00 12 DD 10 00 00 00 00 30 31 34 32 36 34 36 36 36 38 31 30
<- 4:48:38 PM 00 01 00 10 00 01 00 40 60 3E A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 30 6A 5F 11 0B 05 33 4F 39 46 6A 6B 5B 4E 29 71 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 1D FF FF
-> 4:48:39 PM 00 01 00 01 00 10 00 4C 61 4A A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 12 80 10 34 43 45 44 37 31 43 45 37 32 43 30 34 34 34 32 BE 0F 04 0E 08 00 06 5F 1F 04 00 00 18 1F 01 00 00 07
<- 4:48:39 PM 00 01 00 10 00 01 00 0D C0 01 C1 00 01 00 00 60 01 00 FF 02 00
-> 4:48:40 PM 00 01 00 01 00 10 00 12 DD 10 00 00 00 00 30 31 34 32 34 39 38 34 36 32 37 31

If i however just leave the tool to run the make the connection and read all values.

Any idea why this is happening.

Regards
Keenan George