Hi sir, for Manufacture = Indian Standard, HLS(2)=AES128
if client challenge = 1234567890ABCDEF, KEY = HHHHHHHHHHHHHHHH
1.which item we should input the KEY? Block Cipher Key or Authentication Key
2.which item we should input the service challenge?
3.the app should send packet for f(CtoS) as below
7E A0 2B 03 61 32 8D EB E6 E6 00 C3 01 C1 00 0F 00 00 28 00 00 FF 01 01 09 10 E9 15 92 8B E1
2B 36 F6 3E 97 CA C4 C2 0A 18 70 08 7B 7E
but we get
7e a0 2c 03 61 32 ac bc e6 e6 00 c3 01 c1 00 0f 00 00 28 00 00 ff 01 01 09 11 10 00 00 00 00 10
80 20 49 e3 ae 3f 74 a6 17 d9 03 a2 fd 7e
the packet length 0x2c is wrong, due to string length 0x11 is wrong, it should be 0x10
and f(CtoS) should be E9 15 92 8B E1 2B 36 F6 3E 97 CA C4 C2 0A 18 70
please help to confirm, thanks
Hi sir, did you have any updates?
Could you share a example for 4 steps HLS with static client challenge? thanks
step 1. C->S
step 2. S->C
step 3. f(CtoS)
step 4. f(StoC)
Hi sir, thanks for your reply.
sorry you're you are misunderstanding.
I mean that, I used GXDLMSDirector.exe with static client challenge
assuming client challenge = 1234567890ABCDEF, KEY = HHHHHHHHHHHHHHHH
so I input
[Device Setting]
Manufacture = Indian Standard
Authentication = High
Password = HHHHHHHHHHHHHHHH
HLS with static client challenge, f(CtoS) fail
Hi,
You can input key as password. You do not need to change anything to Secured Connection tab.
Set Authentication to High.
BR,
Mikko
Hi sir, thanks for your reply
Hi sir, thanks for your reply, I input
Password=HHHHHHHHHHHHHHHH
Challenge=31323334353537383930414243444546 = (1234567890ABCDEF)
the log as below
TX:
7E A0 4C 03 61 10 58 27 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 31 32 33 34 35 36 37 38 39 30 41 42 43 44 45 46 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 1C FF FF F1 02 7E
RX:
7E A0 58 61 03 30 07 51 E6 E7 00 61 4A A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 0A 80 10 56 61 6E 67 6F 54 65 63 68 2D 48 4C 53 53 32 43 BE 10 04 0E 08 00 06 5F 1F 04 00 00 18 1D 00 B2 00 07 1E 52 7E
The app didn't send action 0xc3 for next step? please help to check, thanks.
HLS with static client challenge, f(CtoS) fail
Hi,
Are you using GXDLMSDirector or own app?
BR,
Mikko
Hi sir, yes I'm using
Hi sir, yes I'm using GXDLMSDirector, the app means GXDLMSDirector
Hi sir, did you have any
Hi sir, did you have any updates?
Could you share a example for 4 steps HLS with static client challenge? thanks
step 1. C->S
step 2. S->C
step 3. f(CtoS)
step 4. f(StoC)
HLS with static client challenge, f(CtoS) fail
Hi,
Check Authentication using challenge from here:
http://www.gurux.fi/Gurux.DLMS.Client
You can set static challenge at GXDLMSDirector in "Secured connections" tab.
If you are making own app, set CtoSChallenge.
BR,
Mikko
Hi sir, thanks for your reply
Hi sir, thanks for your reply.
sorry you're you are misunderstanding.
I mean that, I used GXDLMSDirector.exe with static client challenge
assuming client challenge = 1234567890ABCDEF, KEY = HHHHHHHHHHHHHHHH
so I input
[Device Setting]
Manufacture = Indian Standard
Authentication = High
Password = HHHHHHHHHHHHHHHH
[Secured Connections]
Challenge = 1234567890ABCDEF
Log:
[GXDLMSDirector send]
7E A0 4C 03 61 10 58 27 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 31 32 33 34 35 36 37 38 39 30 41 42 43 44 45 46 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 1C FF FF F1 02 7E
[Meter reply]
7E A0 58 61 03 30 07 51 E6 E7 00 61 4A A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 0A 80 10 56 61 6E 67 6F 54 65 63 68 2D 48 4C 53 53 32 43 BE 10 04 0E 08 00 06 5F 1F 04 00 00 18 1D 00 B2 00 07 1E 52 7E
My question is
The GXDLMSDirector didn't send action 0xc3 for next step? why?
Hi sir, do you have any
Hi sir, do you have any updates? thanks
HLS with static client challenge, f(CtoS) fail
Hi,
Can you send GXDLMSDirector log to be by email? There should be no reason why action is not send.
BR,
Mikko
log file
GXDLMSDirector 8.0.1706.1107
Log created 下午 02:01:23
下午 02:01:25 Initializing serial connection.
下午 02:01:25 Send SNRM request.
7E A0 14 03 61 93 05 A1 81 80 08 05 02 00 B2 06 02 00 B2 30 55 7E
下午 02:01:25 Received data
7E A0 20 61 03 73 05 9E 81 80 14 05 02 00 B2 06 02 00 B2 07 04 00 00 00 01 08 04 00 00 00 01 D9 B7 7E
下午 02:01:25 Parsing UA reply.<CR><LF>81 80 14 05 02 00 B2 06 02 00 B2 07 04 00 00 00 01 08 04 00 00 00 01
下午 02:01:25 Parsing UA reply succeeded.
下午 02:01:25
7E A0 4C 03 61 10 58 27 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 31 32 33 34 35 36 37 38 39 30 41 42 43 44 45 46 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 1D 00 B2 0C 3E 7E
下午 02:01:25 Received data
7E A0 58 61 03 30 07 51 E6 E7 00 61 4A A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 0E 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 0A 80 10 56 61 6E 67 6F 54 65 63 68 2D 48 4C 53 53 32 43 BE 10 04 0E 08 00 06 5F 1F 04 00 00 18 1D 00 B2 00 07 1E 52 7E
System.IndexOutOfRangeException: 索引在陣列的界限之外。
於 GXDLMSDirector.GXDLMSDevice.InitializeConnection()
於 GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters)
HLS with static client challenge, f(CtoS) fail
Hi,
You want to use High Authentication:
http://www.gurux.fi/GuruxDLMSTranslator?pdu=603EA1090607608574050801018…
But your meter wants to use GMAC authentication.
http://www.gurux.fi/GuruxDLMSTranslator?pdu=614AA109060760857405080101A…
You must set correct GMAC settings to "Secured Connections" tab.
Ask correct settings from the manufacturer.
BR,
Mikko
it working now, thanks for
it working now, thanks for your help
HLS with static client challenge, f(CtoS) fail
Hi,
Thanks for let me know that it helped.
BR,
Mikko