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. I Using DLMSServerexample2 In This I Want Firmware Upgrade Procedure

i using DLMSServerexample2 in this i want firmware upgrade procedure

By sekar , 30 April, 2025
Forums
Gurux DLMS for ANSI C

when i connect through GXdlms Director i got error

Exception Response "Service Unknown" -Exception Deciphering failed.

what can i do for firmware upgrade OBIS code and give profer information

14:44:10 Send SNRM request.
TX: 7E A0 07 03 A1 93 C3 8D 7E
14:44:10
RX: 7E A0 1E A1 03 73 2F 76 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
14:44:10 Send AARQ request.
TX: 7E A0 4C 03 A1 10 F2 ED E6 E6 00 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 56 33 29 04 37 72 38 15 34 31 20 3E 45 1B 55 45 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 1E 5D FF FF DE 4A 7E
14:44:10
RX: 7E A0 0F A1 03 30 AA D9 E6 E7 00 D8 02 05 70 2F 7E
14:44:10
RX: 7E A0 1E A1 03 73 2F 76 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

Profile picture for user Kurumi

Kurumi

1 year 3 months ago

Hi, You need to use a…

Hi,

You need to use a ciphered connection. Select "Secured connections" and change security to AuthenticationEncryption and set block cipher and authentication keys.

Default block cipher: 000102030405060708090A0B0C0D0E0F
Default authentication key: D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF

BR,
Mikko

sekar

1 year 3 months ago

i given proper credential…

i given proper credential for our design

for addAssociationHighGMacPreEstablished() 0, 0, 40, 0, 5, 255

password: 1234567890123456

selected authentication and encryption

client ID: lnt00000
Authentication key : 1234567890123456
block ciphered key : 1234567890123456
associationHigh.clientSAP = 0x50;

i given proper credential then also i am getting

Exception Response "Service Unknown" -Exception Deciphering failed.

can you suggest any other solution....

sekar

1 year 3 months ago

reply above question...

reply above question...

sekar

1 year 3 months ago

when i am using…

when i am using GURUXdlmsserverexample2 , doing authentication firmware upgrade, invocation counter(0.0.43.1.5.255) not increasing can you give updated version for firmware upgrade in server side

int addAssociationHighGMacPreEstablished()
{
int ret;
const unsigned char ln[6] = { 0, 0, 40, 0, 5, 255 };
if ((ret = INIT_OBJECT(associationHighGMacPreEstablished,
DLMS_OBJECT_TYPE_ASSOCIATION_LOGICAL_NAME, ln)) == 0) {
associationHighGMacPreEstablished.authenticationMechanismName.mechanismId =DLMS_AUTHENTICATION_HIGH;
// DLMS_AUTHENTICATION_HIGH_GMAC;
OA_ATTACH(associationHighGMac.objectList, ALL_OBJECTS);
associationHighGMacPreEstablished.clientSAP = 0x50;
associationHighGMacPreEstablished.xDLMSContextInfo.maxSendPduSize =
associationHighGMacPreEstablished.xDLMSContextInfo.maxReceivePduSize =
PDU_BUFFER_SIZE;
associationHighGMacPreEstablished.xDLMSContextInfo.conformance =
(DLMS_CONFORMANCE) (DLMS_CONFORMANCE_BLOCK_TRANSFER_WITH_ACTION
| DLMS_CONFORMANCE_BLOCK_TRANSFER_WITH_SET_OR_WRITE
| DLMS_CONFORMANCE_BLOCK_TRANSFER_WITH_GET_OR_READ
| DLMS_CONFORMANCE_SET
| DLMS_CONFORMANCE_SELECTIVE_ACCESS
| DLMS_CONFORMANCE_ACTION
| DLMS_CONFORMANCE_MULTIPLE_REFERENCES
| DLMS_CONFORMANCE_GET);
// GMAC authentication don't need password.
#ifndef DLMS_IGNORE_OBJECT_POINTERS
associationHighGMacPreEstablished.securitySetup =
&securitySetupHighGMacPreEstablished;
#else
memcpy(associationHighGMacPreEstablished.securitySetupReference, securitySetupHighGMacPreEstablished.base.logicalName, 6);
#endif // DLMS_IGNORE_OBJECT_POINTERS

}
return ret;
}

i follow above association i am getting below error
Exception Response "Service Unknown" -Exception Deciphering failed.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • 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
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201

New forum topics

  • negative indexing for custom method/attribute
  • System title
  • Elster a1800 clock reset to year 2000 with one tariff billing
  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin