Hi. i am using Arduino Server Exapmple .
The Code Work Perfect In Hdlc Mode With GXDLMS Director.
I Develop My Windows App to Read Meter .
in my App when I want read clock object After send snrm an Arrq and get Correct responce meter Send a supervisery frame.
1: 7E A0 2F 00 02 44 D1 03 54 DF 1D E6 E6 00 C8 1E 30 00 00 00 07 CF 08 FF C5 07 C4 A1 F8 FF 7B ED D0 CA 4F 29 8C 4B 8F E2 8B C7 17 23 FC DA 3B 39 7E
<HDLC len="2E" >
<!-- Logical address:1, Physical address:4456 -->
<TargetAddress Value="5168" />
<SourceAddress Value="1" />
<FrameType Value="54" />
<PDU>
<glo_GetRequest Value="3000000007CF08FFC507C4A1F8FF7BEDD0CA4F298C4B8FE28BC71723FCDA" />
</PDU>
</HDLC>
2: 7E A0 0A 03 00 02 44 D1 97 FF E1 7E
<HDLC len="C" >
<TargetAddress Value="1" />
<!-- Logical address:1, Physical address:4456 -->
<SourceAddress Value="5168" />
<!-- S frame. -->
<FrameType Value="97" />
<UnacceptableFrame>
</UnacceptableFrame>
</HDLC>
but when i test with java source code as a meter with the same settings all thing is Ok.
How i can solve This Problem?
Hi,
Hi,
I believe that your block cipher or authentication keys are different in the client and server.
Verify that they are the same.
BR,
Mikko
They are the same;
They are the same;
TX:7e a0 0a 00 02 44 d1 03 93 4c 3c 7e
RX:7e a0 21 03 00 02 44 d1 73 d4 55 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3b 7e
TX:7e a0 7f 00 02 44 d1 03 10 30 6b e6 e6 00 60 6e a1 09 06 07 60 85 74 05 08 01 03 a6 0a 04 08 42 53 43 aa f2 d2 38 7e 8a 02 07 80 8b 07 60 85 74 05 08 02 05 ac 12 80 10 2c 59 13 28 d8 f8 99 e6 d3 0b cf 54 1c 0e ef 96 be 34 04 32 21 30 30 00 00 00 15 cc 94 93 a3 2a 2d 46 b4 b7 e2 5a 6a 49 b7 1d 84 f6 12 8a b0 b9 54 91 0a 08 e3 cf 56 9f f0 cf 74 b2 c9 61 91 7a d8 6e b9 8e 38 25 a8 6a 7e
RX:7e a0 7a 03 00 02 44 d1 30 06 21 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 41 42 43 44 45 46 47 48 88 02 07 80 89 07 60 85 74 05 08 02 05 aa 12 80 10 70 38 9c ce 67 b3 59 ac 56 ab 55 2a 15 8a 45 22 be 23 04 21 28 1f 30 00 00 00 00 16 58 4d 6f 2b f4 37 53 19 6d d9 c7 81 77 04 1e 90 e3 c7 2a 07 3b 86 82 8b 24 84 1e 7e
TX:7e a0 42 00 02 44 d1 03 32 25 91 e6 e6 00 cb 31 30 00 00 00 16 30 71 0c ea 71 6f 6f cf ae 05 e3 d6 49 4e 73 c7 16 ec 3b 64 f5 d8 54 24 fa 6f 9c a6 64 8f 36 d6 d8 87 28 41 cb 94 1b 71 65 1b 26 a8 5d ba 7e
RX:7e a0 3d 03 00 02 44 d1 52 0c 61 e6 e7 00 cf 2c 30 00 00 00 00 d9 59 0b 30 35 f0 3e 42 17 70 d8 50 81 3b c2 2c 5a c9 b2 05 b9 09 fb 0d 36 9b 20 47 3b 42 bc 78 69 33 d5 19 f2 44 9f 49 c6 7e
TX:7e a0 2f 00 02 44 d1 03 54 df 1d e6 e6 00 c8 1e 30 00 00 00 17 3a 15 4d 3a 9c 0d 32 2a b3 27 13 85 3b 3f 0d 53 10 b9 5c 8c 16 3b 0b be bf 41 1f 7e
RX:7e a0 0a 03 00 02 44 d1 97 ff e1 7e
last Rx Frame is Arduino Server meter Answer thas is problem.
in simulated Java meter with the same Settings all things is ok
One more thing:
One more thing:
Block CH key:000102030405060708090A0B0C0D0E0F
Authentication Key:D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF