I have imported necessary gurux dlms library and is new with the usage of it.
Can anyone let me know that the necessary things that i need to take care or change in US Association.
Ty to read the meter with public access first. You need only set the connection settings. (TCP/IP address or serial port).
You need to establish a ciphered connection and you need the block cipher and authentication keys for that.
Set correct keys and change client address to 48 and authentication to High.
It might be easier to read the meter first with GXDLMSDirector. It will give you a better understanding of the DLMS meters and you can see the correct communication settings.
I have successfully established connection with PC and MR associations. Getting server to client did not match error after the arq request with US association. Do i need to make any changes in GXDLMS reader module?
I can successfully execute PC and MR associations of client example program without any errors. But when i try to establish connectivity in US mode, i am getting either the 'server to client does not match' error or an authentication failure error. Please let me know if there are any additional setttings or changes that needs to be done before executing in US type. I have revalidated the passwords and keys and they are as expected. I am pasting the trace below from cmd.
D:\Gurux.DLMS.Python-master\Gurux.DLMS.Client.Example.python>python main.py -S COM11:9600:8None1 -c 48 -a High -P VVVVVVVVVVVVVVVV -C AuthenticationEncryption -T 5641523030303031 -A 39393939393939393939393939393939 -B 39393939393939393939393939393939 -D CA0CC754F8F7B505DCF886E51214C6F0 -d India -w 1 -f 128 -t Verbose
I have checked regarding challenge, there is no specific challenge that needs to be used while making connection. Is there anyway that i can check and validate challenge from meter?
Hi, Ty to read the meter…
Hi,
Ty to read the meter with public access first. You need only set the connection settings. (TCP/IP address or serial port).
You need to establish a ciphered connection and you need the block cipher and authentication keys for that.
Set correct keys and change client address to 48 and authentication to High.
It might be easier to read the meter first with GXDLMSDirector. It will give you a better understanding of the DLMS meters and you can see the correct communication settings.
BR,
Mikko
Hi Mikko I have…
Hi Mikko
I have successfully established connection with PC and MR associations. Getting server to client did not match error after the arq request with US association. Do i need to make any changes in GXDLMS reader module?
Regards
Aparna
Hi Aparna, The US password…
Hi Aparna,
The US password is different than MR. Make sure that you are using the correct password. You also need to change the client's address.
BR,
Mikko
Hello Mikko I can…
Hello Mikko
I can successfully execute PC and MR associations of client example program without any errors. But when i try to establish connectivity in US mode, i am getting either the 'server to client does not match' error or an authentication failure error. Please let me know if there are any additional setttings or changes that needs to be done before executing in US type. I have revalidated the passwords and keys and they are as expected. I am pasting the trace below from cmd.
D:\Gurux.DLMS.Python-master\Gurux.DLMS.Client.Example.python>python main.py -S COM11:9600:8None1 -c 48 -a High -P VVVVVVVVVVVVVVVV -C AuthenticationEncryption -T 5641523030303031 -A 39393939393939393939393939393939 -B 39393939393939393939393939393939 -D CA0CC754F8F7B505DCF886E51214C6F0 -d India -w 1 -f 128 -t Verbose
OUTPUT:
gurux_dlms version: 1.0.144
gurux_net version: 1.0.20
gurux_serial version: 1.0.20
Authentication: 2
ClientAddress: 0x30
ServerAddress: 0x1
Standard: 1
Security: 48
System title: 56 41 52 30 30 30 30 31
Authentication key: 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
Block cipher key: 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
Dedicated key: CA 0C C7 54 F8 F7 B5 05 DC F8 86 E5 12 14 C6 F0
TX: 16:53:54 7E A0 07 03 61 93 69 47 7E
RX: 16:53:54 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
TX: 16:53:54 7E A0 7C 03 61 10 AA 6B E6 E6 00 60 6E A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 56 41 52 30 30 30 30 31 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 3D 4C AD BE 40 8F 26 EA C8 A7 EE 18 22 48 10 A4 BE 34 04 32 21 30 30 00 00 00 00 75 20 0A 51 2D B6 64 94 C3 FF 38 90 C1 6F FA 38 54 7C B7 98 10 32 66 92 F2 2A 2D D5 06 7C DD 1C C0 47 85 8F FD 96 21 A9 7B C3 F5 1E 0F 7E
RX: 16:53:55 7E A0 77 61 03 30 AD 6C 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 56 41 52 32 33 30 30 31 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 12 80 10 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 BE 23 04 21 28 1F 30 00 00 00 0A C3 65 13 17 A8 4F FA 78 EF 9A 9A A2 3A 67 11 7A E4 8A 9D E2 4A AD B7 88 C2 88 D2 4C 7E
TX: 16:53:55 7E A0 3E 03 61 54 4B 40 E6 E6 00 CB 30 30 00 00 00 01 90 16 10 61 D8 F2 66 05 6B BC 39 76 DE B7 BB 29 A0 13 0B 3D 6F D3 5C 88 3E 3B A4 5E DD 0D 14 6A BB 7A D7 0B 7A B2 F4 90 14 30 2B ED A7 7E
RX: 16:53:55 7E A0 0C 61 03 97 48 27 54 22 08 3E B3 7E
DisconnectRequest
TX: 16:53:55 7E A0 07 03 61 53 65 81 7E
RX: 16:53:55 7E A0 07 61 03 1F 1D EF 7E
Access Error : Unknown error.
DisconnectRequest
Ended. Press any key to continue.
Regards
Aparna
Hi Mikko I have confirmed…
Hi Mikko
I have confirmed with the team and they are sure that the MR and US passwords are set different.
Regards
Aparna
Hi, You can establish the…
Hi,
You can establish the connection for the meter, but the meter can't handle step 2 where the client challenge is sent.
You need to ask the meter manufacturer if the meter is expecting that the specific challenge is used.
If a password is invalid the meters usually return an error, but this meter doesn't return it.
BR,
Mikko
Hi Mikko I have checked…
Hi Mikko
I have checked regarding challenge, there is no specific challenge that needs to be used while making connection. Is there anyway that i can check and validate challenge from meter?
Regards
Aparna
Hi, Can you read the meter…
Hi,
Can you read the meter with the manufacturer's application?
If you can get the communication hex trace I can get you the correct settings.
I believe that one of the settings is different than the meter expects.
BR,
Mikko