Skip to main content
Home
for DLMS smart meters

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

3 weeks 1 day 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

2 weeks 5 days 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

2 weeks 3 days ago

reply above question...

reply above question...

sekar

2 weeks 1 day 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.

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 05/20/2025 - 08:40
    gurux.dlms.c 9.0.2505.2001
  • Mon, 05/19/2025 - 10:19
    gurux.net.java 1.0.30
  • Mon, 05/19/2025 - 10:00
    gurux.dlms.c 9.0.2505.1901
  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401

New forum topics

  • HDLC Adress resolver configuration
  • Reading all "Data" object type parameter together
  • com_read getting failed for billing profile and instantaneous profile
  • Simulator connection closed
  • Regarding the dlms android project
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin