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. Proposed Conformance Using HighGMAC

Proposed conformance using HighGMAC

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 AndreasAtPowel , 19 September, 2017
Forums
Gurux.DLMS

Hello

We have an application where we previously used version 8.2.0.3 of Gurux.DLMS. We then had the following code:

var gxdlmsClient = new GXDLMSSecureClient(true, 0x01, 0x01, Authentication.HighGMAC, authenticationSettings.UniqueSecret, InterfaceType.WRAPPER);
gxdlmsClient.LNSettings.SetConformanceBlock(new byte[] { 0x00, 0x1F, 0x1F });
gxdlmsClient.MaxReceivePDUSize = 0x00C8;
gxdlmsClient.Password = authenticationSettings.UniqueSecret.ToByteArray();
gxdlmsClient.Ciphering.SystemTitle = authenticationSettings.SystemTitle.ToByteArray();
gxdlmsClient.Ciphering.Security = Security.AuthenticationEncryption;
gxdlmsClient.Ciphering.AuthenticationKey = authenticationSettings.AuthenticationKey.ToByteArray();
gxdlmsClient.Ciphering.BlockCipherKey = authenticationSettings.UnicastKey.ToByteArray();

This week we have updated the version of Gurux.DLMS to Version 8.5.1709.1201. We see that we no longer can use gxdlmsClient.LNSettings.SetConformanceBlock. So instead we are setting the following property:

ProposedConformance = Conformance.Action |
Conformance.EventNotification |
Conformance.SelectiveAccess | Conformance.Set |
Conformance.Get | Conformance.InformationReport |
Conformance.MultipleReferences |
Conformance.BlockTransferWithAction |
Conformance.BlockTransferWithSetOrWrite |
Conformance.BlockTransferWithGetOrRead,

But when we try to run the application we get the error "Connection is permanently rejected. Authentication is required". Do you have any good ideas to how we can solve this problem?

Thanks
Andreas

Profile picture for user Kurumi

Kurumi

9 years 1 month ago

Proposed conformance using HighGMAC

Hi Andreas,
Can you send trace from sent and received bytes? We'll check this ASAP.

BR,
Mikko

AndreasAtPowel

9 years 1 month ago

Hi,

This is what we have traced as sent/received bytes when trying to connect to the meter using version 8.5.1709.1201of Gurux::

char peer0_0[] = { /* Packet 1 */
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x63,
0x60, 0x61, 0xa1, 0x09, 0x06, 0x07, 0x60, 0x85,
0x74, 0x05, 0x08, 0x01, 0x03, 0xa6, 0x0a, 0x04,
0x08, 0x4d, 0x4d, 0x4d, 0x00, 0x00, 0xbc, 0x61,
0x4e, 0x8a, 0x02, 0x07, 0x80, 0x8b, 0x07, 0x60,
0x85, 0x74, 0x05, 0x08, 0x02, 0x05, 0xac, 0x12,
0x80, 0x10, 0x3f, 0x29, 0x12, 0x76, 0x70, 0x00,
0x31, 0x18, 0x5c, 0x41, 0x55, 0x25, 0x16, 0x60,
0x1d, 0x12, 0xbe, 0x27, 0x04, 0x25, 0x21, 0x23,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xd3, 0x03, 0xda, 0xc9, 0x02, 0x36, 0x9b,
0xf9, 0x52, 0xfc, 0x36, 0x75, 0x4b, 0x70, 0xf9,
0x88, 0x0f, 0xe9, 0xc3, 0x8c, 0x68, 0xf6, 0xb6,
0x44, 0xdf, 0x9d };

char peer1_0[] = { /* Packet 2 */
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x2a,
0x61, 0x28, 0xa1, 0x09, 0x06, 0x07, 0x60, 0x85,
0x74, 0x05, 0x08, 0x01, 0x03, 0xa2, 0x03, 0x02,
0x01, 0x01, 0xa3, 0x05, 0xa1, 0x03, 0x02, 0x01,
0x0e, 0x89, 0x07, 0x60, 0x85, 0x74, 0x05, 0x08,
0x02, 0x05, 0xbe, 0x06, 0x04, 0x04, 0x0e, 0x01,
0x06, 0x00 };

/Andreas

Profile picture for user Kurumi

Kurumi

9 years 1 month ago

GMAC issue

Hi,

We have fix this. I'm sorry about the inconvenience.
http://www.gurux.fi/node/6261

BR,
Mikko

AndreasAtPowel

9 years 1 month ago

Hi,

This seems to have solved our issue!

Thanks for the quick fix!

/Andreas

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More

Who's new

  • Asier Sierra
  • BlessyAnn
  • sravya.thota@m…
  • Diwakar
  • williamorussell
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin