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 Listen Service Issue

Gurux Listen Service Issue

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 keenangeorge , 29 July, 2017
Forums
Gurux.Net

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

Profile picture for user Kurumi

Kurumi

9 years 1 month ago

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

keenangeorge

9 years 1 month ago

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

Profile picture for user Kurumi

Kurumi

9 years ago

Gurux Listen Service Issue

Hi Keenan George,

Your secure settings are not set. Set them.
Client.SystemTitle = ;
Client.BlockCipherKey = ;
Client.AuthenticationKey = ;

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin