I am trying to use GXDLMSGateway to make my DLMS server simulator work with Gateway Protocol.
Apparently is as simple as just fill physicial device address and network id inside the Settings of GxdlmsServer :
public class DlmsServer : GXDLMSSecureServer
{
[...]
public void Start()
{
Settings.Gateway.PhysicalDeviceAddress = new byte[] {0,0,1,2};
}
}
BUT I can't find the place in gurux code where Gateway is instantiated and it throws a null exception. I can't instantiate it because it is internal set.
I am using c# version.
It is able to accept the APDUs containing the gateway protocol wrapper. I assume that the DLMS simulator is able to read that but it is not including the gateway wrapper in the response.
Hi again!
I am checking the gateway protocol support on simulator for .net and I can't see any change in this. What are the changes? is now supported? any guide to use it?
I see a difference because with latest version simulator is not responding to GatewayRequests which did before.
Start simulator with G -parameter. The following example uses WRAPPER interface to communicate between the client app and the simulator. Communication between the meters and simulator is using HDLC framing.
I'm very interested in this response, if I have understood, I can start a gurux simulator instance that can act as a gateway ? can you please tell me in which language of gurux server this gateway feature is implemented ? I prefer java if you have tested it with success.
Hi,
Hi,
We haven't use DLMS simulator with Gateway protocol. Are you using C# or java version? We'll check this.
BR,
Mikko
I am using c# version.
I am using c# version.
It is able to accept the APDUs containing the gateway protocol wrapper. I assume that the DLMS simulator is able to read that but it is not including the gateway wrapper in the response.
https://github.com/Gurux/Gurux.DLMS.Net/blob/ed2448f695494c93f2464f7766…
Thanks!
Hi all!
Hi all!
Any update on this? Keen to know how to get responses back from Dlms.Simulator using the gateway protocol :)
Regards
Hi,
Hi,
That is added and it will go for tests next Wednesday. The next open-source release day is on the 9th of March.
BR,
Mikko
You're awesome!
You're awesome!
Hi again!
Hi again!
I am checking the gateway protocol support on simulator for .net and I can't see any change in this. What are the changes? is now supported? any guide to use it?
I see a difference because with latest version simulator is not responding to GatewayRequests which did before.
Regards
Hi,
Hi,
Start simulator with G -parameter. The following example uses WRAPPER interface to communicate between the client app and the simulator. Communication between the meters and simulator is using HDLC framing.
-h localhost -p 1000 -x c:\temp\crystal.xml -t Verbose -N 10 -G WRAPPER
BR,
Mikko
Hi Mikko,
Hi Mikko,
I'm very interested in this response, if I have understood, I can start a gurux simulator instance that can act as a gateway ? can you please tell me in which language of gurux server this gateway feature is implemented ? I prefer java if you have tested it with success.
Thanks !
Mansour
Hi Mansour,
Hi Mansour,
We have used C# version for this.
BR,
Mikko