if possible, i need some help from you. I need to collect the profile load from a Landis Gyr E650 using terminal connection (line phone).
I have already successfully tested on GXDLMSDirectory and everything is OK, but i really need some help, maybe a sample code, with the steps that i need:
1) create a meter object with connection settings and connect to meter
2) make the profile read call using start and end datetime
I've already checked the client example but i cant found the way to connect to the meter using Terminal connection type.
I dont know where setup the phone number, for example.
Can you explain what kind of object declarations are required for meter reading? i've seen GXDLMSMeter, GXDLMSClient, GXTerminal, GXDLMSDevice, etc .. and, for me it's a littly confusing.
I really feel bad because i know that your code it's well build and structured but i cannot understand all of it.
I hope that you can help me, plz.
Some testings:
GXDLMSClient client = new GXDLMSClient(false, 16, GXDLMSClient.GetServerAddress(94067583), Gurux.DLMS.Enums.Authentication.None, null, InterfaceType.HDLC);
I'm sorry for the slow reply. I was received a lot of spam messages and I missed a few questions. :-(
Terminal support is not added to the example client at the moment, but you can add it quite easily.
First, add support to Gurux.Terminal using NuGet.
Then find throw new Exception("Unknown media type.") from the client example. Then set your terminal settings like this:
GXTerminal terminal = new GXTerminal();
terminal.PhoneNumber = "PHONE NUMBER";
...other serial port settings
settings.media = terminal;
Hi,
Hi,
You should check client example.
https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Client.E…
It'll implement what you want to do.
BR,
Mikko
Hello Mikko.
Hello Mikko.
Thanks for you reply!
I've already checked the client example but i cant found the way to connect to the meter using Terminal connection type.
I dont know where setup the phone number, for example.
Can you explain what kind of object declarations are required for meter reading? i've seen GXDLMSMeter, GXDLMSClient, GXTerminal, GXDLMSDevice, etc .. and, for me it's a littly confusing.
I really feel bad because i know that your code it's well build and structured but i cannot understand all of it.
I hope that you can help me, plz.
Some testings:
GXDLMSClient client = new GXDLMSClient(false, 16, GXDLMSClient.GetServerAddress(94067583), Gurux.DLMS.Enums.Authentication.None, null, InterfaceType.HDLC);
GXTerminal cl = new GXTerminal();
cl.PhoneNumber = "38650";
cl.PortName = "COM4";
cl.BaudRate = 9600;
cl.DataBits = 8;
cl.Parity = System.IO.Ports.Parity.None;
cl.StopBits = System.IO.Ports.StopBits.One;
cl.Open();
--------
Best regards,
Rúben Jerónimo
Hi Rúben,
Hi Rúben,
I'm sorry for the slow reply. I was received a lot of spam messages and I missed a few questions. :-(
Terminal support is not added to the example client at the moment, but you can add it quite easily.
First, add support to Gurux.Terminal using NuGet.
Then find throw new Exception("Unknown media type.") from the client example. Then set your terminal settings like this:
GXTerminal terminal = new GXTerminal();
terminal.PhoneNumber = "PHONE NUMBER";
...other serial port settings
settings.media = terminal;
BR,
Mikko