I just got a problem reading association view from EDMI Mk7MI meter using Gurux Simulator Java. The meter used HighGMac Auth and AuthenticationEncryption mode.
Here is the parameter:
$ gurux.dlms.java.simulator.jar -S /dev/ttyUSB0 -a HighGMac -c 4 -s 163 -r ln -C AuthenticationEncryption -T 4142434445464748 -A 46464646464646464646464646464646 -B 46464646464646464646464646464646 -o /home/xflash/edmi_mk7mi.xml -t Verbose
Can you read the meter with GXDLMSDirector and add the same connection messages here so I can compare them. Values look correct, but it might be that some parameter must be different.
And here is the result when using Arduino Gurux Library:
SNRM Request
[DEBUG][TX] : 7E A0 8 2 47 9 93 62 EF 7E
[DEBUG][RX] : 7E A0 21 9 2 47 73 31 1A 81 80 14 5 2 1 60 6 2 1 60 7 4 0 0 0 1 8 4 0 0 0 1 DE 89 7E
My objective here is to use the simulator to develop communication module between the EDMI meter and STM32 based uC. I'm porting the gurux C library for this purpose and still work in progress.
In GXDLMSDirector you connect using a secured connection and ANSI C isn't. You need to set the security level to DLMS_SECURITY_AUTHENTICATION_ENCRYPTION.
BR,
Mikko
Hi Andri,
Hi Andri,
Can you read the meter with GXDLMSDirector and add the same connection messages here so I can compare them. Values look correct, but it might be that some parameter must be different.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Sorry for the long response, been busy with other projects.
Here is the log when using GXDLMSDirector:
17:26:51 Send SNRM request.
TX: 7E A0 08 02 47 09 93 62 EF 7E
17:26:51
RX: 7E A0 21 09 02 47 73 31 1A 81 80 14 05 02 01 60 06 02 01 60 07 04 00 00 00 01 08 04 00 00 00 01 DE 89 7E
17:26:51 Send AARQ request.
TX: 7E A0 6C 02 47 09 10 52 D5 E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 41 42 43 44 45 46 47 48 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 6E 76 63 36 11 07 12 5F 08 11 57 00 36 3A 6B 1B BE 23 04 21 21 1F 30 00 00 00 00 5A 79 55 9D 8F D5 16 E1 67 D4 83 E6 2F 83 1A 03 8B BD 9C 14 63 9A 75 0D 77 E2 DC 55 7E
17:26:52
RX: 7E A0 78 09 02 47 30 A8 4E E6 E7 00 61 69 A1 09 06 07 60 85 74 05 08 01 03 A4 0A 04 08 45 44 4D 4D 6B 37 4D 49 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 12 80 10 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 BE 23 04 21 28 1F 30 00 00 00 00 C3 3E D7 0D 43 7B 3B 8D F0 4F F6 A4 CA CD F0 1D 2D 6D A1 55 FF CA 5D 77 B3 CF DD B6 7E
17:26:52 Authenticating.
TX: 7E A0 40 02 47 09 32 E3 C0 E6 E6 00 CB 31 30 00 00 00 01 99 D8 BD 09 C8 67 7C B6 26 B0 98 49 15 65 93 E1 74 CF BF CA 0C C1 37 FB 25 C5 69 8D B5 92 BF 26 E2 16 39 81 C6 2E 78 AB 43 7F 31 D4 56 B4 7E
17:26:53
RX: 7E A0 39 09 02 47 52 DA C4 E6 E7 00 CF 2A 30 00 00 00 00 0C 3F 10 52 5D 7F 32 9C F8 52 F7 C0 CA FC 83 EA 6C 87 7B 9D 11 2B 91 03 42 E4 5C 19 09 91 60 A5 48 34 27 DC 65 7B C5 7E
And here is the result when using Arduino Gurux Library:
SNRM Request
[DEBUG][TX] : 7E A0 8 2 47 9 93 62 EF 7E
[DEBUG][RX] : 7E A0 21 9 2 47 73 31 1A 81 80 14 5 2 1 60 6 2 1 60 7 4 0 0 0 1 8 4 0 0 0 1 DE 89 7E
AARQ Request
[DEBUG][TX] : 7E A0 59 2 47 9 10 D7 27 E6 E6 0 60 4A A1 9 6 7 60 85 74 5 8 1 1 A6 A 4 8 41 42 43 44 45 46 47 48 8A 2 7 80 8B 7 60 85 74 5 8 2 5 AC 12 80 10 70 38 9C CE 67 B3 59 AC 56 AB 55 2A 15 8A 45 22 BE 10 4 E 1 0 0 0 6 5F 1F 4 0 0 1E 1D FF FF C4 D9 7E
[DEBUG][RX] : 7E A0 65 9 2 47 30 9C 86 E6 E7 0 61 56 A1 9 6 7 60 85 74 5 8 1 1 A4 A 4 8 45 44 4D 4D 6B 37 4D 49 A2 3 2 1 0 A3 5 A1 3 2 1 E 88 2 7 80 89 7 60 85 74 5 8 2 5 AA 12 80 10 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 BE 10 4 E 8 0 6 5F 1F 4 0 0 18 1D 1 64 0 7 BD 8F 7E
Authenticating
[DEBUG][TX] : 7E A0 2D 2 47 9 32 24 1D E6 E6 0 C3 1 81 0 F 0 0 28 0 0 FF 1 1 9 11 10 0 0 0 0 1B 1B 71 8D 34 2B 6B F2 95 17 3C 59 EA E2 7E
[DEBUG][RX] : 7E A0 10 9 2 47 52 2F F5 E6 E7 0 D8 2 3 46 4A 7E
My objective here is to use the simulator to develop communication module between the EDMI meter and STM32 based uC. I'm porting the gurux C library for this purpose and still work in progress.
Cheers,
Andri
Hi,
Hi,
In GXDLMSDirector you connect using a secured connection and ANSI C isn't. You need to set the security level to DLMS_SECURITY_AUTHENTICATION_ENCRYPTION.
BR,
Mikko