Hi every one ,
this is my first time with dlms ..
I need to run a client python code for dlms
There is a meter connected to the pc via serial port on com6
When I write this command
Py main.py -S COM6
output :
gurux_dlms version: 1.0.122
gurux_net version: 1.0.18
gurux_serial version: 1.0.18
Authentication: Authentication.NONE
ClientAddress: 0x10
ServerAddress: 0x1
Standard: Standard.DLMS
DisconnectRequest
Connection is permanently rejected
The application context name is not supported.
Ended. Press any key to continue.
==================
Note ,
My meter connected over com6
But , when I run the program like this
Py main.py
To see the avaliable serial ports
It just shows Com1
Why ?!
If you run an application without parameters it shows available serial ports. Try to read your meter with GXDLMSDirector first. It will show what command line parameter you should use. DLMS meter doesn't reply if one of your settings is wrong. I believe that you need to add -r sn parameter.
Hi,
Hi,
If you run an application without parameters it shows available serial ports. Try to read your meter with GXDLMSDirector first. It will show what command line parameter you should use. DLMS meter doesn't reply if one of your settings is wrong. I believe that you need to add -r sn parameter.
Py main.py -S COM6 -r sn
BR,
Mikko