Hello, For our meter to connect via the serial interface (RS485/Optical) we would have to specify the logical server and physical server which is based on the serial number. We could successfully connect to the meter using GXDLMSDirector as there is an option for specifying for these but couldn't manage to connect using GXDLMS java serial interface. I have checked the code and the methods in GXSerial and GXDLMSClient but didn't find anything to mention these. Could you please do let me know how can I pass these parameters while establishing a connection? I have attached the GXDlmsDirector configuration screenshot.
Please, create a new topic f you have a new question. We are testing cl_getServerAddress for ANSI C at the moment. We are releasing it the latest on Monday.
Hi,
Hi,
You can set server address using pfysical and logical address like this:
client.setServerAddress(GXDLMSClient.getServerAddress(16, 62);
Client example is updated and the command line parameter for client example is:
-s 62 -l 16
BR,
Mikko
BR,
Mikko
Thank you, Mikko. It wokred
Thank you, Mikko. It wokred
how to set logical server
how to set logical server address on c client?
Hi bayasgalan,
Hi bayasgalan,
Please, create a new topic f you have a new question. We are testing cl_getServerAddress for ANSI C at the moment. We are releasing it the latest on Monday.
BR,
Mikko