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.
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.
Hi Mikko,
Initially, I have connect meter using high-level security. Then set the secret from Association 0.0.40.0.5.255. Now I am trying to connect a meter with updated secret but not able to connect.
Can you please check the following logs and provide an update.
Let me know if you require more information about the same.
16:46:25 Initializing serial connection.
04:46:26 PM Send SNRM request.
7E A0 07 03 61 93 69 47 7E
<HDLC len="9" >
<TargetAddress Value="1" />
<SourceAddress Value="30" />
<FrameType Value="93" />
<Snrm>
</Snrm>
</HDLC>
04:46:26 PM
7E A0 20 61 03 73 05 9E 81 80 14 05 02 00 FA 06 02 00 FA 07 04 00 00 00 01 08 04 00 00 00 01 1C 5A 7E
<HDLC len="1F" >
<TargetAddress Value="30" />
<SourceAddress Value="1" />
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="250" />
<MaxInfoRX Value="250" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>
Duration: 100
16:46:26 Parsing UA reply succeeded.
04:46:26 PM Send AARQ request.
7E A0 6B 03 61 10 2A FF E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 5A 45 4E 30 30 30 37 35 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 39 57 42 1E 11 6C 66 12 04 3A 0C 10 16 61 49 0D BE 23 04 21 21 1F 30 00 00 00 05 82 EF 02 F7 05 F8 53 2F 6E 98 4E 8F 42 0D 44 23 BB 88 08 C1 28 49 2E DA 80 48 BD 74 7E
<HDLC len="6A" >
<TargetAddress Value="1" />
<SourceAddress Value="30" />
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<CallingAPTitle Value="5A454E3030303735" />
<SenderACSERequirements Value="1" />
<MechanismName Value="High" />
<CallingAuthentication Value="3957421E116C6612043A0C101661490D" />
<glo_InitiateRequest Value="300000000582EF02F705F8532F6E984E8F420D4423BB8808C128492EDA8048" />
</AssociationRequest>
</PDU>
</HDLC>
04:46:26 PM
7E A0 77 61 03 30 AD 6C E6 E7 00 61 69 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 5A 45 4E 30 30 30 37 35 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 12 80 10 F3 17 9C F8 CB 37 12 E7 45 E9 4D C2 BD E9 6D 7F BE 23 04 21 28 1F 30 00 00 79 89 A3 6A F2 FF 87 E8 2C BD 71 B4 A5 9C 40 4E 11 0D 6D 1F 1D AC 2C 2E 36 DD D5 5D 45 14 7E
<HDLC len="76" >
<TargetAddress Value="30" />
<SourceAddress Value="1" />
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<AssociationResult Value="00" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="0E" />
</ResultSourceDiagnostic>
<RespondingAPTitle Value="5A454E3030303735" />
<ResponderACSERequirement Value="1" />
<MechanismName Value="High" />
<RespondingAuthentication Value="F3179CF8CB3712E745E94DC2BDE96D7F" />
<glo_InitiateResponse Value="3000007989A36AF2FF87E82CBD71B4A59C404E110D6D1F1DAC2C2E36DDD55D" />
</AssociationResponse>
</PDU>
</HDLC>
Duration: 338
16:46:26 Parsing AARE reply succeeded.
04:46:26 PM Authenticating.
7E A0 3E 03 61 32 7B 46 E6 E6 00 CB 30 30 00 00 00 06 AD 4F F1 83 D0 69 57 63 E0 D9 1D D3 E4 54 26 F0 48 06 26 49 20 7B 6F 5A ED 8E 20 67 EE F4 8C 32 A6 77 85 F0 93 06 4E 0F B4 58 FF 24 BD 7E
<HDLC len="3D" >
<TargetAddress Value="1" />
<SourceAddress Value="30" />
<FrameType Value="32" />
<PDU>
<glo_ActionRequest Value="3000000006AD4FF183D0695763E0D91DD3E45426F048062649207B6F5AED8E2067EEF48C32A67785F093064E0FB458FF" />
</PDU>
</HDLC>
04:46:26 PM
7E A0 24 61 03 52 62 DC E6 E7 00 CF 16 30 00 00 79 8A A6 03 61 DD E1 F0 D5 1F C4 44 6C 35 DC 26 8F E9 D7 D9 1F 7E
<HDLC len="23" >
<TargetAddress Value="30" />
<SourceAddress Value="1" />
<FrameType Value="52" />
<PDU>
<glo_ActionResponse Value="300000798AA60361DDE1F0D51FC4446C35DC268FE9D7" />
</PDU>
</HDLC>
Duration: 200
Gurux.DLMS.GXDLMSException: Access Error : Device reports a unavailable object.
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
Hi,
Hi,
Make connection to the meter without authentication. Read Association view. There is something like:
Management Frame Counter in data objects. Copy Logican Name (OBIS code) of that data object.
Select "Secured connections" -tab from device settings.
Paste Logical name to "Frame Counter LN".
Now Frame Counter is read and updated automatically.
BR,
Mikko
Hi Mikko,
Hi Mikko,
The frame counter is updated properly in both MR and US associations.
But after that object list is not downloaded and got the same error as below:
Gurux.DLMS.GXDLMSException: Access Error: Device reports a undefined object.
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
Hi,
Hi,
Is the exception coming in the same place? Check that your keys are correct and the Invocation counter is increased.
BR,
Mikko
Hi,
Hi,
Yup, The issue was due to incorrect password in device properties.
Thanks for the support.
Hi,
Hi,
Thanks for this info. It's always nice to know the reason.
BR,
Mikko