I cannot see Lowest to HLS-5(Device Setting -> Authentication) authentication level in 8.2.2005.1401 version of GXDLMSDirector, Ijust wanted to do some POC for High Level GMAC based association and Reading.
What device did you try to read? This manufacturer hasn't support GMAC before.
Change device manufacturer to Gurux and update your settings and try to read again.
Thanks I got the option now, but when i proceed after filling all the nexessary security details as attached, I got following error in Meters AARE Response(I Guess), but could not able to locate the error, SO need your expert help.
The XML generated as:
My new implementation was extra incrementing the response buffer index by Size of Security header and Ciphered Content which the code has already taken cared of.
Hi,
Hi,
What device did you try to read? This manufacturer hasn't support GMAC before.
Change device manufacturer to Gurux and update your settings and try to read again.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Thanks I got the option now, but when i proceed after filling all the nexessary security details as attached, I got following error in Meters AARE Response(I Guess), but could not able to locate the error, SO need your expert help.
The XML generated as:
<?xml version="1.0" encoding="utf-8"?>
<GXDLMSDevice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Gurux1">
<MaximumBaudRate>9600</MaximumBaudRate>
<Authentication>HighGMAC</Authentication>
<Password>mR3Vs57qW5rOSoeFK50bdw==</Password>
<Security>Encryption</Security>
<SystemTitle>45484C3435363738</SystemTitle>
<ServerSystemTitle />
<DedicatedKey />
<BlockCipherKey>45454545454545454545454545454545</BlockCipherKey>
<AuthenticationKey>41414141414141414141414141414141</AuthenticationKey>
<Challenge />
<ClientAddress>32</ClientAddress>
<StartProtocol>DLMS</StartProtocol>
<UseFrameSize>true</UseFrameSize>
<InactivityTimeout>120</InactivityTimeout>
<Name>L500MRHLS5</Name>
<Conformance>6173</Conformance>
<Manufacturer>grx</Manufacturer>
<HDLCAddressing>0</HDLCAddressing>
<UseProtectedRelease>false</UseProtectedRelease>
<MediaType>Gurux.Serial.GXSerial</MediaType>
<MediaSettings><Port>COM5</Port></MediaSettings>
<UseLN>true</UseLN>
<Objects2 />
</GXDLMSDevice>
The Communication loas:
19:39:14 Send SNRM request.
TX: 7E A0 1E 03 41 93 98 5E 81 80 12 05 01 75 06 01 75 07 04 00 00 00 01 08 04 00 00 00 01 25 9C 7E
19:39:14
RX: 7E A0 1E 41 03 73 8E 7F 81 80 12 05 01 75 06 01 75 07 04 00 00 00 01 08 04 00 00 00 01 25 9C 7E
19:39:14 Send AARQ request.
TX: 7E A0 5F 03 41 10 07 E2 E6 E6 00 60 51 A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 45 48 4C 34 35 36 37 38 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 43 5D 59 2E 0A 12 5F 60 42 18 79 28 58 61 17 0B BE 17 04 15 21 13 20 00 00 00 00 06 E9 1B 05 31 31 23 B9 C9 C1 79 A0 59 58 8A F5 7E
19:39:14
RX: 7E A0 7E 41 03 30 F5 96 E6 E7 00 61 70 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 12 80 10 FB 62 AD 3E FB 62 AD 3E FB 62 AD 3E FB 62 AD 3E A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E A4 0A 04 08 45 48 4C 34 35 36 37 38 BE 17 04 15 28 13 20 00 00 00 0A 1D 65 F9 D1 D4 7F 64 46 7E AB 34 59 F5 93 BE 2C EB E6 C7 BC 45 35 CC CF 5B C6 EF B0 45 82 B9 A2 85 F6 30 7E
19:39:14
RX: 7E A0 20 41 03 73 3E 9D 81 80 14 05 02 01 00 06 02 01 00 07 04 00 00 00 01 08 04 00 00 00 01 69 6D 7E
The Promp file is attached
Hi,
Hi,
There is unknown tag in the data. I believe that you are adding extra bytes in ciphering to the data.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Yes you are right it was due to corrupted buffer.
Thanks a lot.
Hi Deepak ,
Hi Deepak ,
I'm glad that this is solved and you let me know the reason.
BR,
Mikko
Hi Mikko,
Hi Mikko,
My new implementation was extra incrementing the response buffer index by Size of Security header and Ciphered Content which the code has already taken cared of.
Thanks for your Help !!!