we are using (basic research for disertation thesis) couple of sensors (one sensor is one virtual ubuntu server, ie IP+port) and one concentrator (or Gurux Director for testing purposes), both based on gurux.dlms.cpp example, with some modifications. Everything works great - thanks for that good work! We are using TCP/IP adresation with Logical Name Referecing - in code we used " CGXDLMSServerSN SNServer(new CGXDLMSAssociationLogicalName(), new CGXDLMSIecHdlcSetup());" from dlms.cpp library.
Now, another group want to read out sensors too and there comes the problem - they dont use app based on Gurux, but some own written aplication and they not support HDLC, ie they dont want. For our purposes is not necessary too.
So, my question is: Is there some solution to modify the example app and skip HDLC layer for use only TCP/IP socket?
TCP/IP only without HDLC
Hi,
Gurux example server implements 4 meters. 2 using HDLC and two for WRAPPER. WRAPPER is what you want to use. You can connect like this:
Gurux.DLMS.Client.Example.Net -h localhost -p 4063 -w
BR,
Mikko