I am using gurux.cpp library. I would like to know if it's possible to get information about the specific object (specified by LN only) without calling getAssocationView (which retrieves all objects).
For example:
CGXDLMSObject myObject("1.0.1.4.1.255");
Read(myObject); // finds that this LN is Demand register and reads values
Hi,
Hi,
You can read objects without reading the association view. You must know the object type and logical name.
You can read example register object like this:¨
CGXDLMSDemandRegister dr("1.0.1.4.1.255");
Read(&dr);
Or you can create object if you know the type like this:
CGXDLMSObject* pDr = CGXDLMSObjectFactory::CreateObject(DLMS_OBJECT_TYPE_DEMAND_REGISTER, "1.0.1.4.1.255");
BR,
Mikko