Hi,sir:
In HLS mode ,DLMSDirector could add a inputbox to write Client Chanllenge like 1234567890ABCDEF?
At present,the Chanllenge is a random number.
thank you!
There is new version available from GXDLMSDirector where is possible to use static challenge.
You can set static challenge on "Secured Connection" tab.
BR,
There is a issue on Client address that meter sends.
First it's 0x61 on SNRM, but in AARE reply it's changed to 0x30 and that is wrong.
Ask manufacturer to fix this.
Hi sir,
if 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
I believe you are using GMAC authentication. I'm not sure what authentication your meter use, but
I believe it should be High. Change GMAC to High and try again.
Client Chanllenge
Hi Sir,
I'll add static challenge to the work list. I know that you are not only one who is needing that.
BR,
Mikko
thank you very much!
thank you very much!
Client Chanllenge
Hi,
There is new version available from GXDLMSDirector where is possible to use static challenge.
You can set static challenge on "Secured Connection" tab.
BR,
Mikko
Client Chanllenge
Hi,sir:
Thanks for your fast response!
I used the new version,there is a problem occur:
My configuration as below
Sercurity : none;
Chanllenge :31 32 33 34 35 36 37 38 39 30 41 42 43 44 45 46;
and the log:
GXDLMSDirector 8.0.1703.2301
Log created 8:48:14
8:48:31 Initializing serial connection.
8:48:31 Send SNRM request.
7E A0 15 02 FF 61 93 43 C0 81 80 08 05 02 00 B2 06 02 00 B2 30 55 7E
8:48:31 Received data
7E A0 21 61 02 FF 73 A3 92 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
8:48:31 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
8:48:31 Parsing UA reply succeeded.
8:48:31 Send AARQ request
7E A0 4D 02 FF 61 10 92 59 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 00 B2 D0 64 7E
8:48:32 Received data
7E A0 59 02 FF 30 00 6C 1A E6 E7 00 61 4A A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 01 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 29 2F 7E
System.ArgumentException: Wrong size.
在 GXDLMSDirector.GXDLMSDevice.InitializeConnection()
在 GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters)
The meter use AES128.
Thank you!
Client Chanllenge
Hi sir:
I found the wrong place 7E A0 59 02 FF,I miss the client address!
Client Chanllenge
Update address erro, there is still a mistake,the log:
GXDLMSDirector 8.0.1703.2301
14:24:52 Initializing serial connection.
14:24:52 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
14:24:52 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
14:24:52 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
14:24:52 Parsing UA reply succeeded.
14:24:52 Send AARQ request
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 00 B2 D0 64 7E
14:24:52 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
14:24:52 Parsing AARE reply<CR><LF>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
Gurux.DLMS.GXDLMSException: Index is out of bounds.
在 GXDLMSDirector.GXDLMSDevice.InitializeConnection()
在 GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters)
Client Chanllenge
Hello,
There is a issue on Client address that meter sends.
First it's 0x61 on SNRM, but in AARE reply it's changed to 0x30 and that is wrong.
Ask manufacturer to fix this.
BR,
Mikko
f(CtoS) fail
Hi sir,
if 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
Client Chanllenge
Dear Sir,
Please start new topic if you have new question.
I believe you are using GMAC authentication. I'm not sure what authentication your meter use, but
I believe it should be High. Change GMAC to High and try again.
BR,
Mikko