Hi,
I'm trying to create a read / write object of type CGXDLMSData that contains an array of structures:
{
DLMS_DATA_TYPE_OCTET_STRING;
DLMS_DATA_TYPE_UINT16;
DLMS_DATA_TYPE_UINT16;
DLMS_DATA_TYPE_UINT16;
}
But at the moment the maximum readable number of structures in the array is 128, if this number is exceeded, the "Invalid count" error appears in the GuruxDLMSDirector.
From the built-in classes, I realized that the first bytes should be set as parameters for the CGXDLMSData object:
CGXDLMSData.SetUInt8 (DLMS_DATA_TYPE_ARRAY); // Type
CGXDLMSData.SetUInt8 (255); // Count
How do I get around the array length limitation if possible?
Hi,
Hi,
Use GXHelpers::SetObjectCount -method to write bigger values than 127.
BR,
Mikko
Thanks, all worked well!
Thanks, all worked well!