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. Landis E650 Hight Level Authentication

Landis E650 Hight level authentication

By gpatane , 8 April, 2024
Forums
Gurux.DLMS

Hi,
I try to use hight authentication to connect to a Landis E650 and I found a gurux function EncryptLandisGyrHighLevelAuthentication() to encrypt the password to send to the meter. This function requires two parameters: the first the password to be encrypted and the second the "Seed", parameter received from the meter but I don't know how to get it!

Profile picture for user Kurumi

Kurumi

2 years 2 months ago

Hi, The meter sends the seed…

Hi,

The meter sends the seed in AARE message. Gurux DLMS library handles that automatically.

BR,
Mikko

gpatane

2 years 2 months ago

Is it possible to have a…

Is it possible to have a code example to perform hight authentication with password encryption and seed?

Profile picture for user Kurumi

Kurumi

2 years 2 months ago

Hi, You can do it something…

Hi,

You can do it something like this:

GXDLMSSecureClient client = new GXDLMSSecureClient(false);
client.ManufacturerId = "LGZ":
GXReplyData reply = new GXReplyData();
//Generate AARQ request.
//Split requests to multiple packets if needed.
//If password is used all data might not fit to one packet.
var aarq = Client.AARQRequest();
//AARQ is not used for pre-established connections.
if (aarq.Length != 0)
{
foreach (byte[] it in aarq)
{
if (Trace > TraceLevel.Info)
{
Console.WriteLine("Send AARQ request", GXCommon.ToHex(it, true));
}
reply.Clear();
ReadDataBlock(it, reply);
}
if (Trace > TraceLevel.Info)
{
Console.WriteLine("Parsing AARE reply" + reply.ToString());
}
//Parse reply.
Client.ParseAAREResponse(reply.Data);
reply.Clear();
//Get challenge Is HLS authentication is used.
if (Client.Authentication > Authentication.Low)
{
foreach (byte[] it in Client.GetApplicationAssociationRequest())
{
reply.Clear();
ReadDataBlock(it, reply);
}
Client.ParseApplicationAssociationResponse(reply.Data);
}
if (Trace > TraceLevel.Info)
{
Console.WriteLine("Parsing AARE reply succeeded.");
}
}

BR,
Mikko

gpatane

2 years 2 months ago

I am getting authentication…

I am getting authentication error in parse reply:

Dim client As New GXDLMSSecureClient(False)
Client.ManufacturerId = "LGZ"
Client.UseLogicalNameReferencing = False
Client.InterfaceType = InterfaceType.HDLC
Client.ClientAddress = 48
Client.Authentication = Authentication.High
Client.Password = ASCIIEncoding.ASCII.GetBytes("3217423") ' <== ****** Default Password High Level ******

Manufacturer = man
UpdateManufactureSettings(man.Identification)
If TypeOf Media Is GXSerial Then
Console.WriteLine("Initializing serial connection.")
InitSerial()
ElseIf TypeOf Media Is GXNet Then
Console.WriteLine("Initializing Network connection.")
InitNet()
'Some Electricity meters need some time before first message can be send.
System.Threading.Thread.Sleep(500)
Else
Throw New Exception("Unknown media type.")
End If

Dim reply As New GXReplyData()
Dim data As Byte()
data = Client.SNRMRequest()
If data IsNot Nothing Then
If Trace Then
Console.WriteLine("Send SNRM request." + GXCommon.ToHex(data, True))
End If
ReadDLMSPacket(data, reply)
If Trace Then
Console.WriteLine("Parsing UA reply." + reply.ToString())
End If
'Has server accepted client.
Client.ParseUAResponse(reply.Data)
Console.WriteLine("Parsing UA reply succeeded.")
End If

reply.clear

' Generate AARQ request.
' Split requests to multiple packets if needed.
' If password is used all data might not fit to one packet.
Dim aarq = Client.AARQRequest()

' AARQ is not used for pre-established connections.
If aarq.Length <> 0 Then
For Each it As Byte() In aarq
Console.WriteLine("Invia richiesta AARQ: " & GXCommon.ToHex(it, True))
reply.Clear()
ReadDataBlock(it, reply2)
Next

Console.WriteLine("Analisi risposta AARE: " & reply.ToString())

' Parse reply.
Client.ParseAAREResponse(reply.Data) <<= Here I get the error Authentication failue
reply.Clear()

' Get challenge Is HLS authentication is used.
If Client.Authentication > Authentication.Low Then
MsgBox("3")
For Each it As Byte() In Client.GetApplicationAssociationRequest()
reply.Clear()
ReadDataBlock(it, reply)
Next
Client.ParseApplicationAssociationResponse(reply.Data)
End If

Console.WriteLine("Analisi risposta AARE completata.")
End If

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Can you connect with…

Hi,

Can you connect with GXDLMSDirector to this meter?
Are you using C# or Java?
What kind of authentication error do you receive?
Can you add the hex trace from this?

BR,
Mikko

gpatane

2 years 1 month ago

I use VB.Net but I can also…

I use VB.Net but I can also use C#
I have tried with GXDLMSDirector and work fine with this command line:
-h 192.168.1.1 -p 4059 -r sn -c 48 -a High -P 3217423 -w 1 -f 128 -t Verbose
GXDLMSDirector works and I can reset the registry F.F successfull.

With my code I can connect using the gurux libraries with Low authentication and I can read the registers, GenericProfile and also updating successfull the date and time of the meter.
I need to log in with High authentication to reset the F.F error register 0.0.97.97.0.255.
Best regards
Giacomo

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi Giacomo, Try with…

Hi Giacomo,

Try with GXDLMSDirector and C#. Landis+Gyr is using High authentication that is not defined on DLMS standard and it's added later.
Let me know if you have any problems.

BR,
Mikko

gpatane

2 years 1 month ago

I have tried with…

I have tried with GXDLMSDirector and work fine with this command line:
-h 192.168.1.1 -p 4059 -r sn -c 48 -a High -P 3217423 -w 1 -f 128 -t Verbose
GXDLMSDirector works and I can reset the registry F.F successfull.

The problem is with my application!

gpatane

2 years 1 month ago

Returned authentication…

Returned authentication failure on row: Client.ParseAAREResponse(reply.Data)

' Client properties
Client = dlms
Media = media1
InitializeIEC = useIec
Client.ClientAddress = 48
Client.ServerAddress = 1
Client.ManufacturerId = "LGZ"
Client.InterfaceType = InterfaceType.HDLC
Client.UseLogicalNameReferencing = False
Client.Authentication = Authentication.High
Client.Password = ASCIIEncoding.ASCII.GetBytes("3217423")

Manufacturer = man
UpdateManufactureSettings(man.Identification)
If TypeOf Media Is GXSerial Then
Console.WriteLine("Initializing serial connection.")
InitSerial()
ElseIf TypeOf Media Is GXNet Then
Console.WriteLine("Initializing Network connection.")
InitNet()
'Some Electricity meters need some time before first message can be send.
System.Threading.Thread.Sleep(500)
Else
Throw New Exception("Unknown media type.")
End If

Dim reply As New GXReplyData()
Dim data As Byte()
data = Client.SNRMRequest()
If data IsNot Nothing Then
If Trace Then
Console.WriteLine("Send SNRM request." + GXCommon.ToHex(data, True))
End If
ReadDLMSPacket(data, reply)
If Trace Then
Console.WriteLine("Parsing UA reply." + reply.ToString())
End If
'Has server accepted client.
Client.ParseUAResponse(reply.Data)
Console.WriteLine("Parsing UA reply succeeded.")
End If

reply.Clear()

Dim aarq = Client.AARQRequest()

If aarq.Length <> 0 Then
For Each it As Byte() In aarq
Console.WriteLine("Invia richiesta AARQ: " & GXCommon.ToHex(it, True))
reply.Clear()
ReadDataBlock(it, reply)
Next

Console.WriteLine("Analisi risposta AARE: " & reply.ToString())

' >>>>>> Hear i have error Authentication failure <<<<<<
Client.ParseAAREResponse(reply.Data)
reply.Clear()

' Ottieni la sfida se viene utilizzata l'autenticazione HLS.
If Client.Authentication > Authentication.Low Then
For Each it As Byte() In Client.GetApplicationAssociationRequest()
reply.Clear()
ReadDataBlock(it, reply)
Next
Client.ParseApplicationAssociationResponse(reply.Data)
End If

Console.WriteLine("Analisi risposta AARE completata.")
End If

========================
I get the following error:

Initializing Network connection.
Parsing UA reply succeeded.
Send AARQ request: 7E A8 47 03 25 10 6B 9C E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 56 3B 0C 0E 43 6C 52 63 53 52 5D 59 13 07 40 45 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 DC 62 7E
Send AARQ request: 7E A0 0E 03 25 12 8D 0A 1C 03 20 FF FF 4E 99 7E
AARE response: 61 29 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 01 A3 05 A1 03 02 01 0D BE 10 04 0E 08 00 06 5F 1F 04 00 00 00 00 09 60 FA 00
Disconnecting from the meter.
Gurux.DLMS.GXDLMSException: Connection is permanently rejected. Authentication failure.
in Gurux.DLMS.Internal.GXAPDU.ParsePDU2(GXDLMSSettings settings, GXICipher cipher, GXByteBuffer buff, GXDLMSTranslatorStructure xml)
in Gurux.DLMS.Internal.GXAPDU.ParsePDU(GXDLMSSettings settings, GXICipher cipher, GXByteBuffer buff, GXDLMSTranslatorStructure xml)
in Gurux.DLMS.GXDLMSClient.ParseAAREResponse(GXByteBuffer reply)
in Gurux.DLMS.Client.Example.VB.GXCommunicatation.InitializeConnection(GXManufacturer man) in C:\Users\user1\Desktop\dlms.net\GXCommunicatation.vb:riga 487
in Gurux.DLMS.Client.Example.VB.main.Main() in C:\Users\user1\Desktop\dlms.net\main.vb:riga 259
Ended. Press any key to continue.

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Can you add the…

Hi,

Can you add the GXDLMSDirector hex trace here so I can check what might be the problem? Only connection messages (6 messages) are enough.

BR,
Mikko

gpatane

2 years 1 month ago

20:36:12 Send SNRM request…

20:36:12 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
20:36:12
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
20:36:12 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 07 27 51 57 3B 63 72 55 14 62 23 69 0F 1F 1E 0B BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 B2 BE 7E
20:36:13
RX: 7E A0 07 61 03 31 61 27 7E
20:36:13 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
20:36:13
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 36 34 46 34 30 30 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 3B FC 7E
20:36:13 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 39 36 30 42 34 32 33 30 9F FB 7E
20:36:13
RX: 7E A0 0F 61 03 72 26 B2 E6 E7 00 0D 01 00 07 E4 7E

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Your client address is…

Hi,

Your client address is wrong. You are using the client address 0x12 and GXDLMSDirector is using the client address 0x30.

You must set the client address after you have call UpdateManufactureSettings.
UpdateManufactureSettings sets the default client address, but your model is using something else client address than the older Landis+Gyr meters.

BR,
Mikko

gpatane

2 years 1 month ago

Hi, By moving the client…

Hi,

By moving the client address setting after updatemanufactured I was able to connect with high authentication.
Unfortunately it doesn't always connect successfully, but causally, sometimes it connects successfully and sometimes it doesn't.

================================================
Connection error:
Gurux.DLMS.GXDLMSException: Access Error : Device reports scope of access violated.
================================================
16:54:19 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
16:54:19
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
16:54:19 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 30 5D 0F 62 01 77 39 48 48 59 68 6B 6E 0F 54 27 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 64 BD 7E
16:54:20
RX: 7E A0 07 61 03 31 61 27 7E
16:54:20 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
16:54:20
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 45 36 37 45 30 30 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 C4 A0 7E
16:54:20 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 48 38 38 4C 34 32 33 30 98 34 7E
16:54:20
RX: 7E A0 10 61 03 72 7E C3 E6 E7 00 0D 01 01 0D 1E 46 7E
16:54:20
RX: 7E A0 07 61 03 73 77 46 7E

================================================
Connected successfull
================================================
16:54:59 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
16:54:59
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
16:54:59 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 34 46 2F 04 28 0B 0A 59 53 51 5B 03 6A 02 37 19 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 A2 04 7E
16:55:00
RX: 7E A0 07 61 03 31 61 27 7E
16:55:00 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
16:55:00
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 41 42 36 37 30 34 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 47 DB 7E
16:55:00 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 44 44 37 45 34 36 33 30 A0 A0 7E
16:55:00
RX: 7E A0 0F 61 03 72 26 B2 E6 E7 00 0D 01 00 07 E4 7E

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, I believe that there is…

Hi,

I believe that there is an issue with how the challenge is counted.
Landig+Gyr has not released the formula and this is my interpretation from the challenge generation. Can you add a few (two or three) successful connections here? I'll see if I can find anything.

BR,
Mikko

gpatane

2 years 1 month ago

Hi, ========================…

Hi,

==============================================
CONNECT SUCCESSFULL
==============================================
10:26:44 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
10:26:44
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
10:26:44 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 08 2E 22 0A 27 5C 72 56 21 0E 14 43 2B 48 08 77 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 69 88 7E
10:26:44
RX: 7E A0 07 61 03 31 61 27 7E
10:26:44 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
10:26:44
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 35 34 30 39 30 30 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 C8 6C 7E
10:26:44 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 38 36 31 30 34 32 33 30 70 7D 7E
10:26:44
RX: 7E A0 0F 61 03 72 26 B2 E6 E7 00 0D 01 00 07 E4 7E

==============================================
CONNECT SUCCESSFULL
==============================================
10:27:06 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
10:27:07
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
10:27:07 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 78 41 5F 44 66 0C 16 14 3A 76 1E 56 3B 77 02 42 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 34 7E
10:27:07
RX: 7E A0 07 61 03 31 61 27 7E
10:27:07 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
10:27:07
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 38 30 37 32 30 33 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 DE EA 7E
10:27:07 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 42 32 38 39 34 35 33 30 BE 44 7E
10:27:07
RX: 7E A0 0F 61 03 72 26 B2 E6 E7 00 0D 01 00 07 E4 7E

==============================================
CONNECT SUCCESSFULL
==============================================
10:27:22 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
10:27:22
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
10:27:22 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 2C 2C 53 61 78 1B 64 74 65 23 08 00 5A 0F 79 19 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 78 05 7E
10:27:22
RX: 7E A0 07 61 03 31 61 27 7E
10:27:22 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
10:27:22
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 35 45 46 32 30 32 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 FD 3B 7E
10:27:22 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 38 30 30 39 34 34 33 30 2B A6 7E
10:27:22
RX: 7E A0 0F 61 03 72 26 B2 E6 E7 00 0D 01 00 07 E4 7E

==============================================
CONNECT SUCCESSFULL
==============================================
10:27:36 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
10:27:36
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
10:27:36 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 60 3D 31 3A 37 70 6E 58 39 2C 28 6C 52 71 48 17 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 26 0E 7E
10:27:36
RX: 7E A0 07 61 03 31 61 27 7E
10:27:36 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
10:27:36
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 37 34 44 32 30 30 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 66 AB 7E
10:27:36 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 41 36 45 39 34 32 33 30 C3 DD 7E
10:27:37
RX: 7E A0 0F 61 03 72 26 B2 E6 E7 00 0D 01 00 07 E4 7E

==============================================
CONNECT SUCCESSFULL
==============================================
10:28:33 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
10:28:34
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
10:28:34 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 79 75 5A 0B 0B 19 0D 56 65 26 62 69 58 17 46 68 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 F9 A7 7E
10:28:34
RX: 7E A0 07 61 03 31 61 27 7E
10:28:34 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
10:28:34
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 44 36 36 32 30 31 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 9A A0 7E
10:28:34 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 30 38 37 39 34 33 33 30 AF C5 7E
10:28:34
RX: 7E A0 0F 61 03 72 26 B2 E6 E7 00 0D 01 00 07 E4 7E

==============================================
CONNECT SUCCESSFULL
==============================================
10:29:17 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
10:29:18
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
10:29:18 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 37 20 59 1C 53 6B 43 74 02 0F 32 17 18 00 72 3B BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 88 D2 7E
10:29:18
RX: 7E A0 07 61 03 31 61 27 7E
10:29:18 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
10:29:18
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 38 44 31 39 30 30 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 48 53 7E
10:29:18 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 42 46 32 30 34 32 33 30 EB CE 7E
10:29:18
RX: 7E A0 0F 61 03 72 26 B2 E6 E7 00 0D 01 00 07 E4 7E

==============================================
ERROR: Device reports scope of access violated
==============================================
10:25:25 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
10:25:25
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
10:25:25 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 2D 6C 35 59 0E 18 21 24 4F 0E 47 38 79 66 14 6A BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 8F E4 7E
10:25:26
RX: 7E A0 07 61 03 31 61 27 7E
10:25:26 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
10:25:26
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 32 46 31 35 30 30 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 E3 CA 7E
10:25:26 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 35 48 32 43 34 32 33 30 82 54 7E
10:25:27
RX: 7E A0 10 61 03 72 7E C3 E6 E7 00 0D 01 01 0D 1E 46 7E
10:25:27
RX: 7E A0 07 61 03 73 77 46 7E

==============================================
ERROR: Device reports scope of access violated
==============================================
10:27:50 Send SNRM request.
TX: 7E A0 07 03 61 93 69 47 7E
10:27:50
RX: 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
10:27:50 Send AARQ request.
TX: 7E A8 47 03 61 10 6D BD E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 05 47 55 74 43 2E 3C 41 45 03 3E 07 31 68 0B 31 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 98 32 7E
10:27:51
RX: 7E A0 07 61 03 31 61 27 7E
10:27:51 Send AARQ request.
TX: 7E A0 0E 03 61 12 8B 2B 1C 03 20 FF FF 4E 99 7E
10:27:51
RX: 7E A0 50 61 03 50 D9 D7 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 0A 80 08 39 43 33 44 30 33 30 30 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 EC B8 7E
10:27:51 Authenticating.
TX: 7E A0 1C 03 61 34 68 95 E6 E6 00 06 01 02 FA 58 01 09 08 43 45 34 4B 34 35 33 30 DA 21 7E
10:27:51
RX: 7E A0 10 61 03 72 7E C3 E6 E7 00 0D 01 01 0D 1E 46 7E
10:27:51
RX: 7E A0 07 61 03 73 77 46 7E

Profile picture for user Kurumi

Kurumi

1 year 7 months ago

Hi, This is finally fixed…

Hi,

This is finally fixed for Gurux.DLMS.Net version 9.0.2410.3101.

BR,
Mikko

gpatane

1 year 7 months ago

Hi, Now the high…

Hi,
Now the high authentication works well but only with meters connected via ethernet.
If the meter is connected via GSM it does not work.
Regards
Giacomo

Profile picture for user Kurumi

Kurumi

1 year 6 months ago

Hi Giacomo, The password…

Hi Giacomo,

The password generation is the same for GPRS and TCP/IP.

Are you getting any reply from the meter? If not, check that you are using static IP addresses.

You can read more from dynamic and static IP addresses from here:
https://www.gurux.fi/Gurux.DLMS.DynamicIP

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin