Hi,
I'm having a hard time getting started with DLMSDirector and my Holley meter.
Obviously, I don't have the DLMSDirector settings configured correctly for my meter which uses HLS-5 and GMAC.
I get the following error message and log when I try to "Connect":
---------------------------
GXDLMSDirector
---------------------------
Failed to receive reply from the device in given time.
---------------------------
OK
---------------------------
18:04:19 06:04:19.840 Info Opening
18:04:19 06:04:19.840 Info Serial Port Settings: Port Name: COM33 Baud Rate: 9600 Data Bits: 8 Parity: None Stop Bits: One Flow Control: None Eop: None
18:04:19 06:04:19.885 Info Open
18:04:20 Send SNRM request.
TX: 7E A0 07 03 23 93 BF 32 7E
18:04:20 06:04:20.895 Sent 7E A0 07 03 23 93 BF 32 7E
18:04:25 Data send failed. Try to resend 1/3
18:04:25 06:04:25.900 Sent 7E A0 07 03 23 93 BF 32 7E
18:04:30 Data send failed. Try to resend 2/3
18:04:30 06:04:30.910 Sent 7E A0 07 03 23 93 BF 32 7E
18:04:35 Failed to receive reply from the device in given time.
18:04:35 Send Disconnect request.
TX: 7E A0 07 03 23 53 B3 F4 7E
18:04:35 06:04:35.917 Sent 7E A0 07 03 23 53 B3 F4 7E
18:04:40 Data send failed. Try to resend 1/3
18:04:40 06:04:40.925 Sent 7E A0 07 03 23 53 B3 F4 7E
18:04:45 Data send failed. Try to resend 2/3
18:04:45 06:04:45.928 Sent 7E A0 07 03 23 53 B3 F4 7E
18:04:50 Failed to receive reply from the device in given time.
18:04:50 06:04:50.938 Info Closing
18:04:50 06:04:50.939 Info Closed
Thanks for any help.
Also, is there any DLMS…
Also, is there any DLMS query I can make to this meter which does not require security, encryption, or authentication?
Hi, Can you connect with…
Hi,
Can you connect with authentication (Authentication level is None)? If you can't I believe that your serial port baud rate is wrong.
If you can connect, then the client or server address is different than the meter expects. The correct addresses should be on the meter documentation. If you don'thave the documentation, you can use HDLC address resolver to find correct addresses.
https://youtu.be/BeaWKmyMwuE
BR,
Mikko
Thanks, Mikko. That got me…
Thanks, Mikko.
That got me further, but I'm still getting errors:
---------------------------
GXDLMSDirector
---------------------------
Failed to receive reply from the device in given time.
---------------------------
OK
---------------------------
11:53:56 11:53:56.366 Info Opening
11:53:56 11:53:56.366 Info Serial Port Settings: Port Name: COM34 Baud Rate: 9600 Data Bits: 8 Parity: None Stop Bits: One Flow Control: None Eop: None
11:53:56 11:53:56.373 Info Open
11:53:57 Send SNRM request.
TX: 7E A0 07 03 21 93 0F 01 7E
11:53:57 11:53:57.378 Sent 7E A0 07 03 21 93 0F 01 7E
11:53:57 11:53:57.393 Received 7E
11:53:57 11:53:57.395 Received 7E A0 1E
11:53:57 11:53:57.410 Received 01 02 73 C3 7A 01 00 12 05 01 C8
11:53:57 11:53:57.426 Received 07 00 00 00 00 00 08 04 00 00 00 01 08 B3
11:54:02 Data send failed. Try to resend 1/3 7E A0 1E 01 02 73 C3 7A 01 00 12 05 01 C8 06 01 C8 07 00 00 00 00 00 08 04 00 00 00 01 08 B3 7E
11:54:02 11:54:02.434 Sent 7E A0 07 03 21 93 0F 01 7E
11:54:02 11:54:02.451 Received 7E 00 1C
11:54:02 11:54:02.465 Received 00 03 73 C3 7A 01 80 00 05 01 80 04
11:54:02 11:54:02.468 Received C8
11:54:02 11:54:02.481 Received 07 04 00 00 00 01 08 00 00 00 00 01 AC B3
11:54:07 Data send failed. Try to resend 2/3 7E A0 1E 01 02 73 C3 7A 01 00 12 05 01 C8 06 01 C8 07 00 00 00 00 00 08 04 00 00 00 01 08 B3 7E 7E 00 1C 00 03 73 C3 7A 01 80 00 05 01 80 04 01 C8 07 04 00 00 00 01 08 00 00 00 00 01 AC B3 7E
11:54:07 11:54:07.494 Sent 7E A0 07 03 21 93 0F 01 7E
11:54:07 11:54:07.512 Received 7E 00 1E 01
11:54:07 11:54:07.526 Received 03 63 82 7A 81 80 12 05 01 80 04
11:54:07 11:54:07.542 Received 07 04 00 00 00 01 08 00 00 00 00 01 08 B3
11:54:12 Data send failed. Try to resend 3/3 7E A0 1E 01 02 73 C3 7A 01 00 12 05 01 C8 06 01 C8 07 00 00 00 00 00 08 04 00 00 00 01 08 B3 7E 7E 00 1C 00 03 73 C3 7A 01 80 00 05 01 80 04 01 C8 07 04 00 00 00 01 08 00 00 00 00 01 AC B3 7E 7E 00 1E 01 03 63 82 7A 81 80 12 05 01 80 04 00 C8 07 04 00 00 00 01 08 00 00 00 00 01 08 B3 7E
11:54:12 11:54:12.560 Sent 7E A0 07 03 21 93 0F 01 7E
11:54:12 11:54:12.575 Received 7E 00 1C
11:54:12 11:54:12.591 Received 21 03 73 C3 7A 81 80 12 05 01 80 04 00
11:54:12 11:54:12.607 Received 07 04 00 00 00 01 00 04 00 00 00 01 08 B3
11:54:17 Failed to receive reply from the device in given time. 7E A0 1E 01 02 73 C3 7A 01 00 12 05 01 C8 06 01 C8 07 00 00 00 00 00 08 04 00 00 00 01 08 B3 7E 7E 00 1C 00 03 73 C3 7A 01 80 00 05 01 80 04 01 C8 07 04 00 00 00 01 08 00 00 00 00 01 AC B3 7E 7E 00 1E 01 03 63 82 7A 81 80 12 05 01 80 04 00 C8 07 04 00 00 00 01 08 00 00 00 00 01 08 B3 7E 7E 00 1C 21 03 73 C3 7A 81 80 12 05 01 80 04 00 C8 07 04 00 00 00 01 00 04 00 00 00 01 08 B3 7E
11:54:17
RX: 7E A0 1E 01 02 73 C3 7A 01 00 12 05 01 C8 06 01 C8 07 00 00 00 00 00 08 04 00 00 00 01 08 B3 7E 7E 00 1C 00 03 73 C3 7A 01 80 00 05 01 80 04 01 C8 07 04 00 00 00 01 08 00 00 00 00 01 AC B3 7E 7E 00 1E 01 03 63 82 7A 81 80 12 05 01 80 04 00 C8 07 04 00 00 00 01 08 00 00 00 00 01 08 B3 7E 7E 00 1C 21 03 73 C3 7A 81 80 12 05 01 80 04 00 C8 07 04 00 00 00 01 00 04 00 00 00 01 08 B3 7E
11:54:17 Send Disconnect request.
TX: 7E A0 07 03 21 53 03 C7 7E
11:54:17 11:54:17.621 Sent 7E A0 07 03 21 53 03 C7 7E
11:54:17 11:54:17.637 Received 7E 80 1C
11:54:17 11:54:17.652 Received 1C 21 03 62 82 7A 81 80 12 01 01 80 06
11:54:17 11:54:17.668 Received 07 04 00 00 00 01 08 04 00 00 00 01 AC B3
11:54:22 Data send failed. Try to resend 1/3 7E 80 1C 21 03 62 82 7A 81 80 12 01 01 80 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
11:54:22 11:54:22.685 Sent 7E A0 07 03 21 53 03 C7 7E
11:54:22 11:54:22.705 Received 7E A0 07 21 03 1E
11:54:22 11:54:22.720 Received 6B E9 7E
11:54:27 Data send failed. Try to resend 2/3 7E 80 1C 21 03 62 82 7A 81 80 12 01 01 80 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E 7E A0 07 21 03 1E 6B E9 7E
11:54:27 11:54:27.730 Sent 7E A0 07 03 21 53 03 C7 7E
11:54:27 11:54:27.747 Received 7E 00 07 21
11:54:27 11:54:27.762 Received 03 1F
11:54:32 Data send failed. Try to resend 3/3 7E 80 1C 21 03 62 82 7A 81 80 12 01 01 80 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E 7E A0 07 21 03 1E 6B E9 7E 7E
11:54:32 11:54:32.749 Sent 7E A0 07 03 21 53 03 C7 7E
11:54:32 11:54:32.777 Received 00 07 21 03 1F 42 C9 7C 7E
11:54:37 Failed to receive reply from the device in given time. 7E 80 1C 21 03 62 82 7A 81 80 12 01 01 80 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E 7E A0 07 21 03 1E 6B E9 7E 7E 00 07 21 03 1F 42 C9 7C 7E A0 06 21 03 1E 6B E9 7E
11:54:37
RX: 7E 80 1C 21 03 62 82 7A 81 80 12 01 01 80 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E 7E A0 07 21 03 1E 6B E9 7E 7E 00 07 21 03 1F 42 C9 7C 7E A0 06 21 03 1E 6B E9 7E
11:54:37 11:54:37.794 Info Closing
11:54:37 11:54:37.915 Info Closed
Hi, Your meter is replying…
Hi,
Your meter is replying invalid data. Try with a different baud rate.
BR,
Mikko
Hi Mikko, I am much further…
Hi Mikko,
I am much further along now. Thanks to you.
The serial port is working now. The problem was that the meter did not like my FTDI-based serial cable. It wanted a CH340-based one.
With Security Suite: Suite0 and Security: None, then I can Connect to the meter fine.
BUT, with Security Suite: Suite0 and Security: Authentication, then I get the error message and logs below.
Any ideas how to get past this hurdle?
I have the Logical Name Referencing box checked in GXDLMSDirector --> Device Properties --> Device Settings --> Logical Name Referencing box checked.
Thank you!!!
---------------------------
GXDLMSDirector
---------------------------
Connection is permanently rejected. The application context name is not supported.
Meter expects Logical Name referencing.
---------------------------
OK Help
---------------------------
GXDLMSDirector --> Device Properties --> Device Settings --> Logical Name Referencing box checked.
===>
Command line parameters:
-S COM1:9600:8NoneOne -C Authentication -T 6D795F7379737465 -A 00000000000000000000000000000000 -B 00000000000000000000000000000000 -D 637C581582FC6FB036EEF13838D37B2B -w 1 -f 128 -t Verbose
===>
13:32:51 01:32:51.858 Info Opening
13:32:51 01:32:51.859 Info Serial Port Settings: Port Name: COM61 Baud Rate: 9600 Data Bits: 8 Parity: None Stop Bits: One Flow Control: None Eop: None
13:32:51 01:32:51.863 Info Open
13:32:52 Send SNRM request.
TX: 7E A0 07 03 21 93 0F 01 7E
13:32:52 01:32:52.877 Sent 7E A0 07 03 21 93 0F 01 7E
13:32:52 01:32:52.926 Received 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
13:32:52
RX: 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
13:32:52 Send AARQ request.
TX: 7E A0 68 03 21 10 81 9C E6 E6 00 60 5A A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 6D 79 5F 73 79 73 74 65 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 34 04 32 21 30 10 00 00 00 00 01 01 10 63 7C 58 15 82 FC 6F B0 36 EE F1 38 38 D3 7B 2B 00 00 06 5F 1F 04 00 00 00 01 FF FF 7E F5 25 87 97 68 6D 2B 98 1E A7 6A 8A AB 7E
13:32:52 01:32:52.930 Sent 7E A0 68 03 21 10 81 9C E6 E6 00 60 5A A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 6D 79 5F 73 79 73 74 65 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 34 04 32 21 30 10 00 00 00 00 01 01 10 63 7C 58 15 82 FC 6F B0 36 EE F1 38 38 D3 7B 2B 00 00 06 5F 1F 04 00 00 00 01 FF FF 7E F5 25 87 97 68 6D 2B 98 1E A7 6A 8A AB 7E
13:32:53 01:32:53.149 Received 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1
13:32:53 01:32:53.198 Received A1 03 02 01 02 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 1C 01 90 00 07 AD 98
13:32:53
RX: 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 02 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 1C 01 90 00 07 AD 98 7E
13:32:53 01:32:53.202 Sent 7E A0 07 03 21 53 03 C7 7E
13:32:53 01:32:53.250 Received 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
13:32:53
RX: 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
13:32:53 01:32:53.253 Info Closing
13:32:53 01:32:53.254 Info Closed
Hi, If you want to use…
Hi,
If you want to use secured connecction you must change the client address. Add -c CLIENT_ADDRESS where CLIENT_ADDRESS is integer value e.g. -c 1.
I also believe that you needs to use -C AuthenticationEncryption argument.
BR,
Mikko
Hi Mikko, Thank a lot for…
Hi Mikko,
Thanks a lot for your help. It is definitely getting further than it did last time.
Now, I'm getting this error message when I try to Connect:
---------------------------
GXDLMSDirector
---------------------------
Connection is permanently rejected. The application context name is not supported.
Meter expects Logical Name referencing.
---------------------------
OK Help
---------------------------
-S COM62:9600:8NoneOne -c 17 -a Low -P 00000000 -C AuthenticationEncryption -T 73797374656D5F74 -A 00000000000000000000000000000000 -B 00000000000000000000000000000000 -v 0.0.43.1.2.255 -w 1 -f 128 -t Verbose
=====>
When I try to Connect:
=====>
---------------------------
GXDLMSDirector
---------------------------
Connection is permanently rejected. The application context name is not supported.
Meter expects Logical Name referencing.
---------------------------
OK Help
---------------------------
<====>
15:33:36 03:33:36.972 Info Opening
15:33:36 03:33:36.975 Info Serial Port Settings: Port Name: COM62 Baud Rate: 9600 Data Bits: 8 Parity: None Stop Bits: One Flow Control: None Eop: None
15:33:36 03:33:36.980 Info Open
15:33:37 Send SNRM request.
TX: 7E A0 07 03 21 93 0F 01 7E
15:33:38 03:33:38.005 Sent 7E A0 07 03 21 93 0F 01 7E
15:33:38 03:33:38.057 Received 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
15:33:38
RX: 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
15:33:38 Send AARQ request.
TX: 7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 1E 5D FF FF 88 55 7E
15:33:38 03:33:38.082 Sent 7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 1E 5D FF FF 88 55 7E
15:33:38 03:33:38.170 Received 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1
15:33:38 03:33:38.219 Received A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 1C 01 90 00 07 7E 7B
15:33:38
RX: 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 1C 01 90 00 07 7E 7B 7E
15:33:38 03:33:38.250 Sent 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 01 00 00 2B 01 02 FF 02 00 0B B6 7E
15:33:38 03:33:38.332 Received 7E A0 15 21 03 52 5D 8A E6 E7 00 C4 01 C1 00 06 00 00 00 1F 0B F0 7E
15:33:38
RX: 7E A0 15 21 03 52 5D 8A E6 E7 00 C4 01 C1 00 06 00 00 00 1F 0B F0 7E
15:33:38 Disconnect request
TX: 7E A0 07 03 21 53 03 C7 7E
15:33:38 03:33:38.343 Sent 7E A0 07 03 21 53 03 C7 7E
15:33:38 03:33:38.391 Received 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
15:33:38
RX: 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
15:33:38 Send SNRM request.
TX: 7E A0 07 03 23 93 BF 32 7E
15:33:38 03:33:38.393 Sent 7E A0 07 03 23 93 BF 32 7E
15:33:38 03:33:38.440 Received 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
15:33:38
RX: 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
15:33:38 Send AARQ request.
TX: 7E A0 63 03 23 10 24 6F E6 E6 00 60 55 A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 73 79 73 74 65 6D 5F 74 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 30 30 30 30 30 30 BE 23 04 21 21 1F 30 00 00 00 20 3D 8E 3A 27 73 15 8C 15 44 F5 DD 84 9F 14 2B CE 45 9A 94 ED EF F2 47 7F A4 A4 35 23 7E
15:33:38 03:33:38.452 Sent 7E A0 63 03 23 10 24 6F E6 E6 00 60 55 A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 73 79 73 74 65 6D 5F 74 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 30 30 30 30 30 30 BE 23 04 21 21 1F 30 00 00 00 20 3D 8E 3A 27 73 15 8C 15 44 F5 DD 84 9F 14 2B CE 45 9A 94 ED EF F2 47 7F A4 A4 35 23 7E
15:33:38 03:33:38.668 Received 7E A0 37 23 03 30 D4 C9 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1
15:33:38 03:33:38.718 Received A1 03 02 01 0C BE 10 04 0E 08 00 06 5F 1F 04 00 00 1A 1D 01 90 00 07 38 7B
15:33:38
RX: 7E A0 37 23 03 30 D4 C9 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 0C BE 10 04 0E 08 00 06 5F 1F 04 00 00 1A 1D 01 90 00 07 38 7B 7E
15:33:38 03:33:38.723 Sent 7E A0 07 03 23 53 B3 F4 7E
15:33:38 03:33:38.771 Received 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
15:33:38
RX: 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
15:33:38 03:33:38.776 Info Closing
15:33:38 03:33:38.777 Info Closed
Other settings:
<?xml version="1.0" encoding="utf-8"?>
<GXDLMSDevice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Gurux1">
<Authentication>Low</Authentication>
<Password>FofsCM+Ew3WVhueA4PJdUA==</Password>
<Security>AuthenticationEncryption</Security>
<KeyAgreementScheme>0</KeyAgreementScheme>
<SystemTitle>73797374656D5F74</SystemTitle>
<ServerSystemTitle />
<DedicatedKey />
<BlockCipherKey>00000000000000000000000000000000</BlockCipherKey>
<AuthenticationKey>00000000000000000000000000000000</AuthenticationKey>
<BroadcastKey />
<InvocationCounter>32</InvocationCounter>
<FrameCounter>0.0.43.1.2.255</FrameCounter>
<Challenge />
<Signing>0</Signing>
<ClientAddress>17</ClientAddress>
<MacDestinationAddress>0</MacDestinationAddress>
<InactivityTimeout>120</InactivityTimeout>
<FrameDelay>0</FrameDelay>
<ObjectDelay>0</ObjectDelay>
<SignCipherOrder>0</SignCipherOrder>
<Name>mydev1</Name>
<Verbose>true</Verbose>
<Conformance>12220486</Conformance>
<Manufacturer>HLY</Manufacturer>
<HDLCAddressing>0</HDLCAddressing>
<UseProtectedRelease>false</UseProtectedRelease>
<SecurityChangeCheck>false</SecurityChangeCheck>
<MediaType>Gurux.Serial.GXSerial</MediaType>
<MediaSettings><Port>COM62</Port></MediaSettings>
<UseLN>true</UseLN>
<Objects2 />
</GXDLMSDevice>
Hi, Your client address is…
Hi,
Your client address is something other than 17. You need to check it from the meter documentation.
BR,
Mikko
Hi Mikko, When my Security…
Hi Mikko,
When my Security is set to None:
(Device Properties --> Secured Connections --> Security Suite: Suite0 and Security: None)
I can Connect and Read the meter fine with no error messages, so I think I have my Client Address set correctly to 0x10 = 16 decimal.
If I change Security to Authentication, Encryption, or AuthenticationEncryption, I get the following error message.
(Device Properties --> Secured Connections --> Security Suite: Suite0 and Security: AuthenticationEncryption)
---------------------------
GXDLMSDirector
---------------------------
Connection is permanently rejected. The application context name is not supported.
Meter expects Logical Name referencing.
---------------------------
OK Help
---------------------------
Below are my settings:
General
my_Holley_meter
Manufacturer: Holley Metering Ltd
Authentication: None
Logical Address: 0
Client Address: 16
Physical Address: 1
Conformance Proposed:
GeneralProtection, GeneralBlockTransfer, DeltaValueEncoding, BlockTransferWithGetOrRead, BlockTransferWithSetOrWrite, BlockTransferWithAction, MultipleReferences, Access, Get, Set, SelectiveAccess, Action
Conformance Negotiated:
BlockTransferWithGetOrRead, MultipleReferences, Get, Set, SelectiveAccess
Ciphering
Security: Authentication Encryption Suite: Suite0 Signing: None
Client System Title: 73 79 73 74 69 74 6C 41
Server System Title:
Block Cipher Key: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Authentication Key: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Dedicated Key:
Command line parameters:
-S COM61:9600:8NoneOne -C AuthenticationEncryption -T 7379737469746C41 -A 00000000000000000000000000000000 -B 00000000000000000000000000000000 -v 0.0.43.1.2.255 -w 1 -f 128 -t Verbose
Help, please.
Hi, Each authentication and…
Hi,
Each authentication and security level has its own client address. 0x10 is used when neither authentication nor security is used.
If you want to use security you must use a different client address. Only the meter manufacturer document will describe what address you should use.
If you don't have the documentation, you can try to use HDLC resolver to find the correct address.
https://youtu.be/BeaWKmyMwuE
BR,
Mikko
Hi Mikko, Thanks. That's…
Hi Mikko,
Thanks. That's what I needed to hear.
Below is a captured communication between the same(?) Holley Meter and another client device (not the DLMSDirector).
It should be showing a successful "Get Clock" query with "HighGMac".
Does this mean that the Client address needed in DLMSDirector is "32" ?
Does any other information in this capture below, like <TargetAddress Value="156" />, show what I should be using for any other DLMSDirector settings to get DLMSDirector to work with this same Holley Meter?
Thank you!
---
++++++++++++++++++++++++++++++++++++
Checking device with baud rate 9600
Try with server address 156 (0x9C) and client 32 (0x20)
++++++++++++++++++++++++++++++++++++
Meter returned an exception:
Connection is permanently rejected. No reason is given.
Used baud rate: 9600
Client address: 32 (0x20)
Server address: 156 (0x9C)
Logical address: 1 (0x1) Physical address: 28 (0x1C)
---
7e a0 13 02 39 41 93 ab 04 81 80 06 05 01 f2 06 01 f2 d3 5f 7e
<HDLC len="18" >
<TargetAddress Value="156" />
<SourceAddress Value="32" />
<!--SNRM frame.-->
<FrameType Value="93" />
<PDU>
<Snrm>
<MaxInfoTX Value="242" />
<MaxInfoRX Value="242" />
</Snrm>
</PDU>
</HDLC>
001200: Read (UP): 2024-10-16 15:49:35.491170 +19.704546 (USB Serial Port (COM40))
7e a0 1f 41 02 39 73 e3 36 81 80 12 05 01 c8 06 01 c8 07 04 00 00 00 01 08 04 00 00 00 01 ac b3 7e
<HDLC len="30" >
<TargetAddress Value="32" />
<SourceAddress Value="156" />
<!--UA frame.-->
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="200" />
<MaxInfoRX Value="200" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>
001202: Read (UP): 2024-10-16 15:49:35.536891 +0.091206 (USB Serial Port (COM42))
7e a0 64 02 39 41 10 17 97 e6 e6 00 60 55 a1 09 06 07 60 85 74 05 08 01 03 a6 0a 04 08 54 52 4c 00 01 02 03 04 8a 02 07 80 8b 07 60 85 74 05 08 02 05 ac 0a 80 08 8a 35 24 f8 1f 32 2f b2 be 23 04 21 21 1f 30 00 01 0e b1 5f a6 cd fb 6e ff d7 cd 2d 33 bd c5 52 bc 05 28 84 29 e2 e1 2d 06 93 c7 37 6d 77 a8 7e
<HDLC len="99" >
<TargetAddress Value="156" />
<SourceAddress Value="32" />
<!--AARQ frame.-->
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<CallingAPTitle Value="54524C0001020304" />
<SenderACSERequirements Value="1" />
<MechanismName Value="HighGMac" />
<CallingAuthentication Value="8A3524F81F322FB2" />
<glo_InitiateRequest Value="3000010EB15FA6CDFB6EFFD7CD2D33BDC552BC05288429E2E12D0693C7376D" />
</AssociationRequest>
</PDU>
</HDLC>
001208: Read (UP): 2024-10-16 15:49:35.751030 +0.259760 (USB Serial Port (COM40))
7e a0 78 41 02 39 30 13 d7 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 48 4f 4c 00 0c ec 4f 83 88 02 07 80 89 07 60 85 74 05 08 02 05 aa 12 80 10 3a ba e9 62 95 13 2f 23 2f e7 61 60 86 5c 90 db be 23 04 21 28 1f 30 00 00 cb 8e 82 0e e2 86 5c b0 48 ed 26 45 10 ad 03 ce 28 61 5d fd 25 bf 63 48 ad 3c a8 8e 83 80 7e
<HDLC len="119" >
<TargetAddress Value="32" />
<SourceAddress Value="156" />
<!--AARE frame.-->
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<AssociationResult Value="0" />
<ResultSourceDiagnostic>
<!--AUTHENTICATION_REQUIRED-->
<ACSEServiceUser Value="14" />
</ResultSourceDiagnostic>
<RespondingAPTitle Value="484F4C000CEC4F83" />
<ResponderACSERequirement Value="1" />
<MechanismName Value="HighGMac" />
<RespondingAuthentication Value="3ABAE96295132F232FE76160865C90DB" />
<glo_InitiateResponse Value="300000CB8E820EE2865CB048ED264510AD03CE28615DFD25BF6348AD3CA88E" />
</AssociationResponse>
</PDU>
</HDLC>
001210: Read (UP): 2024-10-16 15:49:35.888485 +0.259642 (USB Serial Port (COM42))
7e a0 40 02 39 41 32 86 d8 e6 e6 00 cb 31 30 00 01 0e b3 e2 cc 63 72 6d c0 50 bd f0 ef d8 a6 8c c4 6e 02 c8 ba b8 51 51 4c 29 ff c1 18 ce df 5e 45 c7 3f dc 6f fb 1c 43 f9 69 0d 65 d7 24 c7 46 03 7e
<HDLC len="63" >
<TargetAddress Value="156" />
<SourceAddress Value="32" />
<!--I frame.-->
<FrameType Value="32" />
<PDU>
<glo_ActionRequest Value="3000010EB3E2CC63726DC050BDF0EFD8A68CC46E02C8BAB851514C29FFC118CEDF5E45C73FDC6FFB1C43F9690D65D724C7" />
</PDU>
</HDLC>
001212: Read (UP): 2024-10-16 15:49:35.965397 +0.214246 (USB Serial Port (COM40))
7e a0 39 41 02 39 52 61 5d e6 e7 00 cf 2a 30 00 00 cb 8f 87 cf c3 b2 6a 04 db a4 aa fd 71 89 7c 13 de b2 e3 fc 71 17 ca 4e f5 6e da d3 81 92 c0 ea fc 72 52 b2 73 95 e3 69 7f 7e
<HDLC len="56" >
<TargetAddress Value="32" />
<SourceAddress Value="156" />
<!--I frame.-->
<FrameType Value="52" />
<PDU>
<glo_ActionResponse Value="300000CB8F87CFC3B26A04DBA4AAFD71897C13DEB2E3FC7117CA4EF56EDAD38192C0EAFC7252B27395E3" />
</PDU>
</HDLC>
001214: Read (UP): 2024-10-16 15:49:36.057842 +0.169189 (USB Serial Port (COM42))
7e a0 2d 02 39 41 54 71 03 e6 e6 00 c8 1e 30 00 01 0e b4 4f e1 40 27 c6 44 8d 99 8e 37 dc 9d da 6b c8 e1 2d 66 72 5a 5c 77 4c 5e fb 46 4a 7e
<HDLC len="44" >
<TargetAddress Value="156" />
<SourceAddress Value="32" />
<!--I frame.-->
<FrameType Value="54" />
<PDU>
<glo_GetRequest Value="3000010EB44FE14027C6448D998E37DC9DDA6BC8E12D66725A5C774C5EFB" />
</PDU>
</HDLC>
001216: Read (UP): 2024-10-16 15:49:36.103403 +0.137930 (USB Serial Port (COM40))
7e a0 32 41 02 39 74 b9 5e e6 e7 00 cf 23 30 00 00 cb 90 f7 7a 96 74 7c c7 94 6f b3 42 e4 d8 4f 45 ca 3b ca ec 2b 1e b2 9e 81 86 6b 8d 44 82 c2 a1 21 d4 7e
<HDLC len="49" >
<TargetAddress Value="32" />
<SourceAddress Value="156" />
<!--I frame.-->
<FrameType Value="74" />
<PDU>
<glo_ActionResponse Value="300000CB90F77A96747CC7946FB342E4D84F45CA3BCAEC2B1EB29E81866B8D4482C2A1" />
</PDU>
</HDLC>
001218: Read (UP): 2024-10-16 15:49:36.289464 +0.231554 (USB Serial Port (COM42))
7e a0 2d 02 39 41 76 61 01 e6 e6 00 c8 1e 30 00 01 0e b5 39 8c 81 30 e8 3c c9 28 00 e7 72 c4 ea 63 c6 0e cc 5b 92 4a ce 91 31 73 f7 f9 60 7e
<HDLC len="44" >
<TargetAddress Value="156" />
<SourceAddress Value="32" />
<!--I frame.-->
<FrameType Value="76" />
<PDU>
<glo_GetRequest Value="3000010EB5398C8130E83CC92800E772C4EA63C60ECC5B924ACE913173F7" />
</PDU>
</HDLC>
001220: Read (UP): 2024-10-16 15:49:36.351467 +0.247925 (USB Serial Port (COM40))
7e a0 29 41 02 39 96 09 69 e6 e7 00 cf 1a 30 00 00 cb 91 15 39 8c 59 7d f8 72 27 86 5c 4e 74 e9 1f 14 ed 7a 1f fd ea b4 02 31 7e
<HDLC len="40" >
<TargetAddress Value="32" />
<SourceAddress Value="156" />
<!--I frame.-->
<FrameType Value="96" />
<PDU>
<glo_ActionResponse Value="300000CB9115398C597DF87227865C4E74E91F14ED7A1FFDEAB4" />
</PDU>
</HDLC>
001222: Read (UP): 2024-10-16 15:49:36.366984 +0.077366 (USB Serial Port (COM42))
7e a0 08 02 39 41 53 0b 31 7e
<HDLC len="10" >
<TargetAddress Value="156" />
<SourceAddress Value="32" />
<!--S frame.-->
<FrameType Value="53" />
<DisconnectRequest>
</DisconnectRequest>
</HDLC>
001224: Read (UP): 2024-10-16 15:49:36.413478 +0.061890 (USB Serial Port (COM40))
7e a0 1f 41 02 39 73 e3 36 81 80 12 05 01 c8 06 01 c8 07 04 00 00 00 01 08 04 00 00 00 01 ac b3 7e
<HDLC len="30" >
<TargetAddress Value="32" />
<SourceAddress Value="156" />
<!--UA frame.-->
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="200" />
<MaxInfoRX Value="200" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>
Hi, Change the client…
Hi,
Change the client address to 32. You might also need to change the server address to 156, but it might work with default value 1.
BR,
Mikko
Hi Mikko, I tried that, and…
Hi Mikko,
I tried that, and it didn't work. Same error message.
Any other ideas, please?
Thanks!
Hi, Try to set MaxInfoRX and…
Hi,
Try to set MaxInfoRX and MaxInfoRX to 242.
BR,
Mikko
Hi Mikko, I tried "set…
Hi Mikko,
I tried "set MaxInfoRX and MaxInfoRX to 242", and it did not work either :(
It looks like the main difference between DLMSDirector (that did not work) and the DLMS client board that worked is in the "AARQ frame".
The main difference seems to be the "MechanismName Value". For the successfull DLMS client board, this value is set to "HighGMac".
On the other hand, DLMSDirector sets this value to "None".
Is there some way I can get DLMSDirector to set "MechanismName Value" to "HighGMac" ?
I have already tried:
Security Suite: Suite0 with Security: Authentication
Security Suite: Suite0 with Security: Encryption
and
Security Suite: Suite0 with Security: AuthenticationEncryption
Thank you!
---
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
Successful use from the client board used with Holley Meter:
001202: Read (UP): 2024-10-16 15:49:35.536891 +0.091206 (USB Serial Port (COM42))
7e a0 64 02 39 41 10 17 97 e6 e6 00 60 55 a1 09 06 07 60 85 74 05 08 01 03 a6 0a 04 08 54 52 4c 00 01 02 03 04 8a 02 07 80 8b 07 60 85 74 05 08 02 05 ac 0a 80 08 8a 35 24 f8 1f 32 2f b2 be 23 04 21 21 1f 30 00 01 0e b1 5f a6 cd fb 6e ff d7 cd 2d 33 bd c5 52 bc 05 28 84 29 e2 e1 2d 06 93 c7 37 6d 77 a8 7e
<HDLC len="99" >
<TargetAddress Value="156" />
<SourceAddress Value="32" />
<!--AARQ frame.-->
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<CallingAPTitle Value="54524C0001020304" />
<SenderACSERequirements Value="1" />
<MechanismName Value="HighGMac" />
<CallingAuthentication Value="8A3524F81F322FB2" />
<glo_InitiateRequest Value="3000010EB15FA6CDFB6EFFD7CD2D33BDC552BC05288429E2E12D0693C7376D" />
</AssociationRequest>
</PDU>
</HDLC>
001208: Read (UP): 2024-10-16 15:49:35.751030 +0.259760 (USB Serial Port (COM40))
7e a0 78 41 02 39 30 13 d7 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 48 4f 4c 00 0c ec 4f 83 88 02 07 80 89 07 60 85 74 05 08 02 05 aa 12 80 10 3a ba e9 62 95 13 2f 23 2f e7 61 60 86 5c 90 db be 23 04 21 28 1f 30 00 00 cb 8e 82 0e e2 86 5c b0 48 ed 26 45 10 ad 03 ce 28 61 5d fd 25 bf 63 48 ad 3c a8 8e 83 80 7e
<HDLC len="119" >
<TargetAddress Value="32" />
<SourceAddress Value="156" />
<!--AARE frame.-->
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<AssociationResult Value="0" />
<ResultSourceDiagnostic>
<!--AUTHENTICATION_REQUIRED-->
<ACSEServiceUser Value="14" />
</ResultSourceDiagnostic>
<RespondingAPTitle Value="484F4C000CEC4F83" />
<ResponderACSERequirement Value="1" />
<MechanismName Value="HighGMac" />
<RespondingAuthentication Value="3ABAE96295132F232FE76160865C90DB" />
<glo_InitiateResponse Value="300000CB8E820EE2865CB048ED264510AD03CE28615DFD25BF6348AD3CA88E" />
</AssociationResponse>
</PDU>
</HDLC>
VERSUS
VERSUS
VERSUS
VERSUS
VERSUS
VERSUS
VERSUS
VERSUS
VERSUS
VERSUS
VERSUS
VERSUS
Unsuccessful with Gurux DLMSDirector and same Holley meter:
Unsuccessful with Gurux DLMSDirector and same Holley meter:
Unsuccessful with Gurux DLMSDirector and same Holley meter:
Unsuccessful with Gurux DLMSDirector and same Holley meter:
Unsuccessful with Gurux DLMSDirector and same Holley meter:
Unsuccessful with Gurux DLMSDirector and same Holley meter:
Unsuccessful with Gurux DLMSDirector and same Holley meter:
Unsuccessful with Gurux DLMSDirector and same Holley meter:
10:48:10 Send AARQ request.
TX: 7E A0 58 02 39 41 10 F6 34 E6 E6 00 60 49 A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 6D 79 5F 74 69 74 6C 65 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 23 04 21 21 1F 30 00 00 00 4B 59 4B 49 A2 40 BF E4 9E 99 57 99 05 F4 F4 30 60 13 2B 3D 26 F0 0F 3E 33 00 17 ED 58 7E
<HDLC len="87" >
<TargetAddress Value="156" />
<SourceAddress Value="32" />
<!--AARQ frame.-->
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<CallingAPTitle Value="6D795F7469746C65" />
<SenderACSERequirements Value="1" />
<MechanismName Value="None" />
<glo_InitiateRequest Value="300000004B594B49A240BFE49E99579905F4F43060132B3D26F00F3E330017" />
</AssociationRequest>
</PDU>
</HDLC>
RX: 7E A0 38 41 02 39 30 31 16 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 01 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 1C 01 90 00 07 67 25 7E
<HDLC len="55" >
<TargetAddress Value="32" />
<SourceAddress Value="156" />
<!--AARE frame.-->
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN" />
<!--PERMANENT_REJECTED-->
<AssociationResult Value="1" />
<ResultSourceDiagnostic>
<!--NO_REASON_GIVEN-->
<ACSEServiceUser Value="1" />
</ResultSourceDiagnostic>
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="6" />
<NegotiatedConformance>
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="400" />
<VaaName Value="7" />
</InitiateResponse>
</AssociationResponse>
</PDU>
</HDLC>
Hi, GMAC is a new feature…
Hi,
GMAC is a new feature for Holley. Start GXDLMSDirector and update manufacturer settings. Then change authentication code to GMAC.
BR,
Mikko
Hi Mikko, I clicked on the…
Hi Mikko,
I clicked on the update option between "Conformance Tests" and "Help" at the top of GXDLMSDirector and restarted GXDLMSDirector, but I still do not see a "GMAC" option for authentication.
Help, please.
Hi, Update the latest…
Hi,
Update the latest version from the GXDLMSDirector. Then update the manufacturer settings again.
BR,
Mikko
Hi Mikko, I updated the "New…
Hi Mikko,
I updated the "New Device Manufacturer settings", but still there was no option listed for GMAC Authentication using "Manufacturer: Holley Metering Ltd".
So, I tried GMAC Authentication using "Manufacturer: EMH metering GmbH". And, it worked !!!
Connect/Read Object/Disconnect worked.
So, perhaps this thread can be closed now, but I will definitely have more questions for you on how to encrypt and decrypt the messages.
Thank you!
Hi, Remove this folder from…
Hi,
Remove this folder from your PC.
C:\ProgramData\Gurux\OBIS
All the device settings are updated after that.
BR,
Mikko