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.
First part Logfile, second part physical monitoring serial ports
Who can explain.
Thanks.
GXDLMSDirector 8.1.2006.1702
Log created 16:21:39
16:21:49 Initializing serial connection.
16:21:50 Send SNRM request.
7E A0 0A 00 02 1C 19 61 93 3F 96 7E
16:21:50
7E A0 0A 61 00 02 1C 19 73 79 8E 7E
16:21:50 Parsing UA reply succeeded.
16:21:50 Send AARQ request.
7E A0 53 00 02 1C 19 61 10 5A 13 E6 E6 00 60 42 A1 09 06 07 60 85 74 05 08 01 01 A6 0A 04 08 4D 4D 4D 00 00 00 00 01 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 0A 80 08 4B 35 36 69 56 61 67 59 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF B1 F1 7E
16:21:50
7E A0 5F 61 00 02 1C 19 30 8A 7C E6 E7 00 61 4E A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 A4 0A 04 08 53 4F 53 00 00 00 07 0C 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 0A 80 08 3F 50 6E 35 31 33 68 41 BE 10 04 0E 08 00 06 5F 1F 04 00 00 10 1F 04 00 00 07 7A 61 7E
16:21:50 Parsing AARE reply succeeded.
16:21:50 Authenticating.
7E A0 2F 00 02 1C 19 61 32 9C B1 E6 E6 00 C3 01 C1 00 0F 00 00 28 00 00 FF 01 01 09 11 10 00 00 00 02 1B 76 48 2C 58 25 1E 88 67 80 8B E5 DC ED 7E
16:21:51
7E A0 28 61 00 02 1C 19 52 CA EA E6 E7 00 C7 01 C1 00 01 00 09 11 10 01 23 45 69 F4 0D 6F 3E 6C 60 3B 5C 20 88 FC BC 31 E7 7E
16:21:52 Read object type SecuritySetup index: 2
7E A0 1C 00 02 1C 19 61 54 88 C9 E6 E6 00 C0 01 C1 00 40 00 00 2B 00 03 FF 02 00 6A 0A 7E
16:21:52
7E A0 15 61 00 02 1C 19 74 FB 56 E6 E7 00 C4 01 C1 00 16 01 9A 11 7E
16:21:52 Read object type SecuritySetup index: 3
7E A0 1C 00 02 1C 19 61 76 98 CB E6 E6 00 C0 01 C1 00 40 00 00 2B 00 03 FF 03 00 B2 13 7E
16:21:52
7E A0 15 61 00 02 1C 19 96 E7 92 E6 E7 00 C4 01 C1 00 16 00 13 00 7E
16:21:52 Read object type SecuritySetup index: 4
7E A0 1C 00 02 1C 19 61 98 E8 C5 E6 E6 00 C0 01 C1 00 40 00 00 2B 00 03 FF 04 00 BA 5E 7E
16:21:53
7E A0 1D 61 00 02 1C 19 B8 77 84 E6 E7 00 C4 01 C1 00 09 08 4D 4D 4D 00 00 00 00 01 7D 42 7E
16:21:53 Read object type SecuritySetup index: 5
7E A0 1C 00 02 1C 19 61 BA F8 C7 E6 E6 00 C0 01 C1 00 40 00 00 2B 00 03 FF 05 00 62 47 7E
16:21:53
7E A0 1D 61 00 02 1C 19 DA 63 C4 E6 E7 00 C4 01 C1 00 09 08 53 4F 53 00 00 00 07 0C 4C F3 7E
16:22:00
7E A0 3C 00 02 1C 19 61 DC 4B A2 E6 E6 00 C3 01 C1 00 40 00 00 2B 00 03 FF 02 01 01 01 02 02 16 02 09 18 C4 98 42 9F F0 B8 E6 98 35 2B 17 AF FA C7 CA 6C 70 8D 61 06 2E 82 B6 D4 AC 91 7E
Data send failed. Try to resend 1/3
16:22:06 Data send failed. Try to resend 1/3
7E A0 3C 00 02 1C 19 61 DC 4B A2 E6 E6 00 C3 01 C1 00 40 00 00 2B 00 03 FF 02 01 01 01 02 02 16 02 09 18 C4 98 42 9F F0 B8 E6 98 35 2B 17 AF FA C7 CA 6C 70 8D 61 06 2E 82 B6 D4 AC 91 7E
16:22:06
7E A0 14 61 00 02 1C 19 1E 72 05 E6 E7 00 C7 01 C1 00 00 FC B4 7E 7E A0 0F 61 00 02 1C 19 97 F0 DF DC 00 08 93 69 7E
16:22:09 Disconnect request
16:22:09 Disconnect request
7E A0 0A 00 02 1C 19 61 53 33 50 7E
16:22:09
7E A0 0A 61 00 02 1C 19 73 79 8E 7E
======================== Monitor serial ports ===========================
22.06.2020 16:21:50 C -> S 7E A0 0A 00 02 1C 19 61 93 3F 96 7E
22.06.2020 16:21:50 C <- S 7E A0 0A 61 00 02 1C 19 73 79 8E 7E
22.06.2020 16:21:50 C -> S 7E A0 53 00 02 1C 19 61
22.06.2020 16:21:50 C -> S 10 5A 13 E6 E6 00 60 42
22.06.2020 16:21:50 C -> S A1 09 06 07 60 85 74 05
22.06.2020 16:21:50 C -> S 08 01 01 A6 0A 04 08 4D
22.06.2020 16:21:50 C -> S 4D 4D 00 00 00 00 01 8A
22.06.2020 16:21:50 C -> S 02 07 80 8B 07 60 85 74
22.06.2020 16:21:50 C -> S 05 08 02 05 AC 0A 80 08
22.06.2020 16:21:50 C -> S 4B 35 36 69 56 61 67 59
22.06.2020 16:21:50 C -> S BE 10 04 0E 01 00 00 00
22.06.2020 16:21:50 C -> S 06 5F 1F 04 00 00 1E 1D
22.06.2020 16:21:50 C -> S FF FF B1 F1 7E
22.06.2020 16:21:50 C <- S 7E A0 5F 61 00 02 1C 19 30 8A 7C E6 E7 00 61 4E A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 A4 0A 04 08 53 4F 53 00 00 00 07 0C 88 02 07 80 89 07 60 85 74 05 08 02 05
22.06.2020 16:21:50 C <- S AA 0A 80 08 3F 50 6E 35 31 33 68 41 BE 10 04 0E 08 00 06 5F 1F 04 00 00 10 1F 04 00 00 07 7A 61 7E
22.06.2020 16:21:50 C -> S 7E A0 2F 00 02 1C 19 61
22.06.2020 16:21:50 C -> S 32 9C B1 E6 E6 00 C3 01
22.06.2020 16:21:51 C -> S C1 00 0F 00 00 28 00 00
22.06.2020 16:21:51 C -> S FF 01 01 09 11 10 00 00
22.06.2020 16:21:51 C -> S 00 02 1B 76 48 2C 58 25
22.06.2020 16:21:51 C -> S 1E 88 67 80 8B E5 DC ED
22.06.2020 16:21:51 C -> S 7E
22.06.2020 16:21:51 C <- S 7E A0 28 61 00 02 1C 19 52 CA EA E6 E7 00 C7 01 C1 00 01 00 09 11 10 01 23 45 69 F4 0D 6F 3E 6C 60 3B 5C 20 88 FC BC 31 E7 7E
Read object type SecuritySetup index: 2
22.06.2020 16:21:52 C -> S 7E A0 1C 00 02 1C 19 61 54 88 C9 E6 E6 00 C0 01 C1 00 40 00 00 2B 00 03 FF 02 00 6A 0A 7E
22.06.2020 16:21:52 C <- S 7E A0 15 61 00 02 1C 19 74 FB 56 E6 E7 00 C4 01 C1 00 16 01 9A 11 7E
Read object type SecuritySetup index: 3
22.06.2020 16:21:52 C -> S 7E A0 1C 00 02 1C 19 61 76 98 CB E6 E6 00 C0 01 C1 00 40 00 00 2B 00 03 FF 03 00 B2 13 7E
22.06.2020 16:21:52 C <- S 7E A0 15 61 00 02 1C 19 96 E7 92 E6 E7 00 C4 01 C1 00 16 00 13 00 7E
Read object type SecuritySetup index: 4
22.06.2020 16:21:52 C -> S 7E A0 1C 00 02 1C 19 61 98 E8 C5 E6 E6 00 C0 01 C1 00 40 00 00 2B 00 03 FF 04 00 BA 5E 7E
22.06.2020 16:21:53 C <- S 7E A0 1D 61 00 02 1C 19 B8 77 84 E6 E7 00 C4 01 C1 00 09 08 4D 4D 4D 00 00 00 00 01 7D 42 7E
Read object type SecuritySetup index: 5
22.06.2020 16:21:53 C -> S 7E A0 1C 00 02 1C 19 61 BA F8 C7 E6 E6 00 C0 01 C1 00 40 00 00 2B 00 03 FF 05 00 62 47 7E
22.06.2020 16:21:53 C <- S 7E A0 1D 61 00 02 1C 19 DA 63 C4 E6 E7 00 C4 01 C1 00 09 08 53 4F 53 00 00 00 07 0C 4C F3 7E
Action Request SecuritySetup method global_key_transfer
22.06.2020 16:22:00 C -> S 7E A0 3C 00 02 1C 19 61
22.06.2020 16:22:00 C -> S DC 4B A2 E6 E6 00 C3 01
22.06.2020 16:22:00 C -> S C1 00 40 00 00 2B 00 03
22.06.2020 16:22:00 C -> S FF 02 01 01 01 02 02 16
22.06.2020 16:22:00 C -> S 02 09 18 C4 98 42 9F F0
22.06.2020 16:22:00 C -> S B8 E6 98 35 2B 17 AF FA
22.06.2020 16:22:00 C -> S C7 CA 6C 70 8D 61 06 2E
22.06.2020 16:22:00 C -> S 82 B6 D4 AC 91 7E
Action Response
22.06.2020 16:22:01 C <- S 7E A0 14 61 00 02 1C 19 1E 72 05 E6 E7 00 C7 01 C1 00 00 FC B4 7E
?????????????????????
22.06.2020 16:22:06 C -> S 7E A0 3C 00 02 1C 19 61
22.06.2020 16:22:06 C -> S DC 4B A2 E6 E6 00 C3 01
22.06.2020 16:22:06 C -> S C1 00 40 00 00 2B 00 03
22.06.2020 16:22:06 C -> S FF 02 01 01 01 02 02 16
22.06.2020 16:22:06 C -> S 02 09 18 C4 98 42 9F F0
22.06.2020 16:22:06 C -> S B8 E6 98 35 2B 17 AF FA
22.06.2020 16:22:06 C -> S C7 CA 6C 70 8D 61 06 2E
22.06.2020 16:22:06 C -> S 82 B6 D4 AC 91 7E
22.06.2020 16:22:06 C <- S 7E A0 0F 61 00 02 1C 19 97 F0 DF DC 00 08 93 69 7E
22.06.2020 16:22:09 C -> S 7E A0 0A 00 02 1C 19 61
22.06.2020 16:22:09 C -> S 53 33 50 7E
22.06.2020 16:22:09 C <- S 7E A0 0A 61 00 02 1C 19 73 79 8E 7E
Hi,
Hi,
There is no need for serial port monitor bytes because meter reply an error. You try to update the authentication key. Check your KEK (Master Key). It's not correct. If KEK is not on the meter documentation you need to ask it from the meter manufacturer or them it's not been implemented.
BR,
Mikko
Hi.
Hi.
1. The COM port monitor is turned on to show that at the physical level, the meter responds to the Action request with success, which the Client does not perceive.
2. In the screenshots, the configuration of the keys GXdir_2 and the key update window GXdir_1.
3. After processing ActionReq (01 01 02 02 16 02 09 18 C4 98 42 9F F0 B8 E6 98 35 2B 17 AF FA C7 CA 6C 70 8D 61 06 2E 82 B6 D4), result iv = 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6 and new AK = D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF.
Where is the error?
First image
First image
Hi,
Hi,
First, try to increase timeout to 10 seconds. Meter is sending an action response but after the first re-try. There is also invalid frame after-action response.
BR,
Mikko
Hi.
Hi.
I did not understand how, but it worked.
Thanks.
Best Regards, Albert.