im able to connect using GuruxDirector, but when i connect using python with same parameters using Gurux python Im not getting any output, It just gets stuck
I m using
python main.py -h 2402:3A80:1702:106::1 -a High -P asciixxxxxxxxxx -C AuthenticationEncryption -p 4059 -d DLMS -W 1 -T hexxxxxxxxxxx -A hexxxxxxxxxxx -B hexxxxxxxxxxxx -L TIS -s 1 -c 30 -l 0 -t Verbose -i WRAPPER
Am I missing anything.?
Edit:
I go this error msg
gurux_dlms version: 1.0.121
gurux_net version: 1.0.18
gurux_serial version: 1.0.18
TCP 2402:3A80:1702:106::1:0
Authentication: Authentication.HIGH
ClientAddress: 0x1e
ServerAddress: 0x1
^CTraceback (most recent call last):
File "main.py", line 88, in main
settings.media.open()
File "/usr/local/lib/python3.8/dist-packages/gurux_net/GXNet.py", line 268, in open
self.__socket.connect((self.__host_name, self.__port))
KeyboardInterrupt
Ended. Press any key to continue.
root@localhost:/var/www/gurux/Gurux.DLMS.Python-master/Gurux.DLMS.Client.Example.python#
Later i changed gurux_net module GXNet.py to useIPv6 = True and
You don't need to do any changes for the client-side to read the meter using Ipv6.
You need to change useIPv6 = True only for the server (meter side). I tested this and it worked without problems with IPv6. From the trace, I can see that your meter is not listening to the IP v6 address or your address is wrong.
Hi,
Hi,
You don't need to do any changes for the client-side to read the meter using Ipv6.
You need to change useIPv6 = True only for the server (meter side). I tested this and it worked without problems with IPv6. From the trace, I can see that your meter is not listening to the IP v6 address or your address is wrong.
BR,
Mikko