Hello,
I was able to connect to an ISKRA MT880 meter via GXDLMSDirector with parameters: -h 172.18.54.201 -p 4002 -c 1 -s 164 -a Low -P 12345678 -d Italy -w 1 -f 154 -t Verbose
If I try with C# code I am not able to connect. What am I missing?
Thanks
// Konfiguration für MT880 Zähler
string meterIpAddress = "172.18.54.201"; // Config 2 IP
int port = 4002;
int clientAddress = 1;
int serverAddress = 36;
string password = "12345678"; // Config 2 Passwort
// Netzwerk-Media
GXNet media = new GXNet()
{
Protocol = NetworkType.Tcp,
HostName = meterIpAddress,
Port = port,
WaitTime = 30000
// SendTimeout = 10000
};
// DLMS Client für MT880 (Config 2)
GXDLMSSecureClient client = new GXDLMSSecureClient(
useLogicalNameReferencing: true,
clientAddress: clientAddress,
serverAddress: serverAddress,
authentication: Authentication.Low, // DLMSAuthMethod=1
password: password,
interfaceType: InterfaceType.HDLC
);
client.HdlcSettings.MaxInfoRX = 154;
client.HdlcSettings.MaxInfoTX = 154;
client.Standard = Standard.Italy;
client.UseUtc2NormalTime=true; // UTC Zeit verwenden
CLOESD
CLOSED